wok-next view acl/receipt @ rev 19745

Update base packages, I'll finish yesterday and then rebuild all these from scratch...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 08 00:20:23 2017 +0300 (2017-06-08)
parents 11f96bc53c0e
children 90a5eb560fd6
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
24 sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" \
25 libacl/__acl_to_any_text.c
27 ./configure \
28 --bindir=/bin \
29 --disable-static \
30 --libexecdir=/usr/lib \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install install-lib install-dev DIST_ROOT=$DESTDIR
35 mkdir $install/lib
36 mv -v $install/usr/lib/libacl.so.* $install/lib
37 ln -sfv ../../lib/$(readlink $install/usr/lib/libacl.so) \
38 $install/usr/lib/libacl.so
39 find $install -type f \( -name '*.so*' -o -name '*.la' \) \
40 -exec chmod 755 \{\} \;
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 case $PACKAGE in
48 acl)
49 copy @std
50 DEPENDS="attr"
51 ;;
52 acl-dev)
53 copy @dev
54 DEPENDS="acl attr-dev"
55 ;;
56 esac
57 }