diff options
Diffstat (limited to 'main/libcap/APKBUILD')
-rw-r--r-- | main/libcap/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/libcap/APKBUILD b/main/libcap/APKBUILD index 77e906033f..864bb30990 100644 --- a/main/libcap/APKBUILD +++ b/main/libcap/APKBUILD @@ -7,14 +7,17 @@ arch="all" license="GPL" url="http://www.friedhoff.org/posixfilecaps.html" depends= -makedepends="perl attr-dev" +makedepends_build="perl" +makedepends_host="attr-dev" +makedepends="$makedepends_build $makedepends_host" source="http://dev.alpinelinux.org/archive/libcap/$pkgname-$pkgver.tar.gz" subpackages="$pkgname-doc $pkgname-dev" + _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" - make lib=/lib prefix=/usr DESTDIR="$pkgdir" + make BUILD_CC=gcc CC=$CC lib=/lib prefix=/usr DESTDIR="$pkgdir" } package() { |