CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
attic
/
ports
/
opt-cross.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libcap: fixed AR and RANLIB usage
[attic/ports/opt-cross.git]
/
libcap
/
Pkgfile
diff --git
a/libcap/Pkgfile
b/libcap/Pkgfile
index c7b9c606cbcc20a3283271bead6eb82f83893543..bba0c946ccdc28b72c804926b8cae1c4ac979f07 100644
(file)
--- a/
libcap/Pkgfile
+++ b/
libcap/Pkgfile
@@
-7,7
+7,7
@@
name=libcap
version=2.19
name=libcap
version=2.19
-release=
1
+release=
2
source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.bz2)
build () {
source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.bz2)
build () {
@@
-16,7
+16,7
@@
build () {
sed -e '/^CFLAGS :=/s/:/\?/' -e "s|CC := gcc|CC := $CC|g" -i Make.Rules
sed -e "s|\$(BUILD_CC)|gcc|g" -i libcap/Makefile
sed -e '/^CFLAGS :=/s/:/\?/' -e "s|CC := gcc|CC := $CC|g" -i Make.Rules
sed -e "s|\$(BUILD_CC)|gcc|g" -i libcap/Makefile
- make
+ make
AR="$AR" RANLIB="$RANLIB"
make DESTDIR=$PKG man_prefix=/usr install
install -d $PKG/usr/lib
make DESTDIR=$PKG man_prefix=/usr install
install -d $PKG/usr/lib