summaryrefslogtreecommitdiff
path: root/extra/libconfig/PKGBUILD
blob: f51543e1c1770ae21a3d3f5cf2ea6beb13d95cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 55397 2011-09-11 21:15:58Z spupykin $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: see .contrib

pkgname=libconfig
pkgver=1.4.9
pkgrel=1
pkgdesc="C/C++ Configuration File Library"
arch=('i686' 'x86_64' 'mips64el')
url="http://hyperrealm.com/libconfig/libconfig.html"
license=('LGPL')
depends=('gcc-libs' 'texinfo')
install=$pkgname.install
options=('!libtool' '!emptydirs' 'zipman')
source=("http://www.hyperrealm.com/libconfig/$pkgname-$pkgver.tar.gz")
md5sums=('b6ee0ce2b3ef844bad7cac2803a90634')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --build=$CHOST --host=$CHOST
  make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  rm "$pkgdir/usr/share/info/dir"
}

# vim:set ts=2 sw=2 et: