diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-27 07:19:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-27 07:21:02 +0000 |
commit | 6c2e17fbce7139379a91b140b838fc669d97f436 (patch) | |
tree | 8079cc1be9203c1736471863accc2cdce1e8281b /testing | |
parent | a5dafdc176cac571051b10414086b7988c640031 (diff) | |
download | aports-6c2e17fbce7139379a91b140b838fc669d97f436.tar.bz2 aports-6c2e17fbce7139379a91b140b838fc669d97f436.tar.xz |
testing/fts: provide pkg-config file
fixes #4249
Diffstat (limited to 'testing')
-rw-r--r-- | testing/fts/APKBUILD | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/testing/fts/APKBUILD b/testing/fts/APKBUILD index e6f2850ec7..c13248234b 100644 --- a/testing/fts/APKBUILD +++ b/testing/fts/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=fts pkgver=0 -pkgrel=3 +pkgrel=4 pkgdesc="keith bostic's POSIX file tree stream operations library" url="http://bostic.com/" arch="all" license="BSD" depends= depends_dev= -makedepends="$depends_dev wget" +makedepends="$depends_dev bsd-compat-headers" install="" subpackages="$pkgname-dev $pkgname-doc" replaces_doc="man-pages" @@ -48,6 +48,20 @@ package() { install -d "$pkgdir"/usr/share/man/man3 install -m 644 fts.3 "$pkgdir"/usr/share/man/man3/fts.3 + + mkdir -p "$pkgdir"/usr/lib/pkgconfig + cat >"$pkgdir"/usr/lib/pkgconfig/libfts.pc <<__EOF__ +prefix=/usr +exec_prefix=\${prefix} +libdir=\${exec_prefix}/lib +includedir=\${exec_prefix}/include + +Name: libfts +Description: $pkgdesc +Version: $pkgver +Libs: -lfts +Cflags: +__EOF__ } md5sums="120c14715485ec6ced14f494d059d20a fts.tar.gz |