wok-next view acl/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | 90a5eb560fd6 |
children | b156aee559a7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="acl"
4 VERSION="2.2.52"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for manipulating POSIX Access Control Lists"
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="LGPL2.1 GPL2"
9 WEB_SITE="http://savannah.nongnu.org/projects/acl/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/acl.html"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="http://download.savannah.gnu.org/releases/acl/$TARBALL"
15 BUILD_DEPENDS="attr-dev bash libtool gettext"
16 SPLIT="acl-dev"
18 compile_rules() {
19 rm /bin/rpm 2>/dev/null
20 sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
21 sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" \
22 libacl/__acl_to_any_text.c
24 ./configure \
25 --bindir=/bin \
26 --disable-static \
27 --libexecdir=/usr/lib \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install install-lib install-dev DIST_ROOT=$DESTDIR || return 1
33 mkdir -p $install/lib
34 mv -v $install/usr/lib/libacl.so.* $install/lib
35 ln -sfv ../../lib/$(readlink $install/usr/lib/libacl.so) \
36 $install/usr/lib/libacl.so
38 find $install -type f \( -name '*.so*' -o -name '*.la' \) \
39 -exec chmod 755 \{\} \;
40 }
42 genpkg_rules() {
43 case $PACKAGE in
44 acl)
45 copy @std
46 DEPENDS="attr"
47 TAGS="LFS"
48 ;;
49 acl-dev)
50 copy @dev
51 DEPENDS="acl attr-dev"
52 ;;
53 esac
54 }