wok-next view acl/receipt @ rev 19736
Up acl, babl, beecrypt, bind, bzip2, cookutils, openssl.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 29 11:14:00 2017 +0300 (2017-05-29) |
parents | 8da249b2c8d7 |
children | 9a17d981d0f7 |
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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="attr-dev bash libtool gettext"
16 BUILD_DEPENDS_arm="attr-dev"
17 SPLIT="acl-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 rm /bin/rpm
23 sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
25 ./configure \
26 --bindir=/bin \
27 --disable-static \
28 --libexecdir=/usr/lib \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install install-lib install-dev DIST_ROOT=$DESTDIR
33 mkdir $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
37 find $install -type f \( -name '*.so*' -o -name '*.la' \) \
38 -exec chmod 755 \{\} \;
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 case $PACKAGE in
46 acl)
47 copy @std
48 DEPENDS="attr"
49 ;;
50 acl-dev)
51 copy @dev
52 DEPENDS="acl attr-dev"
53 ;;
54 esac
55 }