mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/libcap: fix crosscompiling
This commit is contained in:
parent
dae6d410f1
commit
6412f70fcb
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user