diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-04 14:22:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-04 14:22:46 +0000 |
commit | fc3731a050eb7cf0b55949f96ab55cd447c5df04 (patch) | |
tree | 48c4b9abeaff3beae6d91c847b044296c8face5e /main/pkgconf | |
parent | 35d19dd711ab0b55c1abc65d0006ecf149e7c3ea (diff) | |
download | aports-fc3731a050eb7cf0b55949f96ab55cd447c5df04.tar.bz2 aports-fc3731a050eb7cf0b55949f96ab55cd447c5df04.tar.xz |
main/pkgconf: moved from testing
Diffstat (limited to 'main/pkgconf')
-rw-r--r-- | main/pkgconf/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/main/pkgconf/APKBUILD b/main/pkgconf/APKBUILD new file mode 100644 index 000000000..a33f15806 --- /dev/null +++ b/main/pkgconf/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=pkgconf +pkgver=0.8.8 +pkgrel=0 +pkgdesc="development framework configuration tools" +url="https://github.com/nenolod/pkgconf" +arch="all" +license="ISC" +depends="" +depends_dev="popt-dev" +makedepends="$depends_dev" +install="" +replaces="pkgconfig" +source="http://tortois.es/~nenolod/distfiles/pkgconf-$pkgver.tar.bz2" + +_builddir="$srcdir"/pkgconf-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/bin + make DESTDIR="$pkgdir" install || return 1 + ln -s pkgconf "$pkgdir"/usr/bin/pkg-config +} + +md5sums="8864bae12c6cc57833825fa4f3ce7cd1 pkgconf-0.8.8.tar.bz2" |