wok-next annotate 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
rev   line source
al@19736 1 # SliTaz package receipt v2.
rcx@3746 2
rcx@3746 3 PACKAGE="acl"
al@19571 4 VERSION="2.2.52"
rcx@3746 5 CATEGORY="system-tools"
al@19736 6 SHORT_DESC="Commands for Manipulating POSIX Access Control Lists"
rcx@3746 7 MAINTAINER="rcx@zoominternet.net"
al@14766 8 LICENSE="LGPL2.1 GPL2"
rcx@3746 9 WEB_SITE="http://savannah.nongnu.org/projects/acl/"
al@19571 10 HOST_ARCH="i486 arm"
al@19571 11
al@14766 12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
al@14766 13 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
al@14766 14
al@19571 15 BUILD_DEPENDS="attr-dev bash libtool gettext"
al@19736 16 BUILD_DEPENDS_arm="attr-dev"
al@19736 17 SPLIT="acl-dev"
pankso@15988 18
rcx@3746 19 # Rules to configure and make the package.
rcx@3746 20 compile_rules()
rcx@3746 21 {
al@19571 22 rm /bin/rpm
al@19571 23 sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
al@19745 24 sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" \
al@19745 25 libacl/__acl_to_any_text.c
gokhlayeh@7894 26
al@19571 27 ./configure \
al@19571 28 --bindir=/bin \
al@19571 29 --disable-static \
al@19571 30 --libexecdir=/usr/lib \
al@19571 31 $CONFIGURE_ARGS &&
al@19571 32 make &&
al@19571 33 make install install-lib install-dev DIST_ROOT=$DESTDIR
gokhlayeh@7894 34
al@19571 35 mkdir $install/lib
al@19571 36 mv -v $install/usr/lib/libacl.so.* $install/lib
al@19571 37 ln -sfv ../../lib/$(readlink $install/usr/lib/libacl.so) \
al@19571 38 $install/usr/lib/libacl.so
al@19571 39 find $install -type f \( -name '*.so*' -o -name '*.la' \) \
al@19571 40 -exec chmod 755 \{\} \;
al@19571 41
rcx@3746 42 }
rcx@3746 43
rcx@3746 44 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3746 45 genpkg_rules()
rcx@3746 46 {
al@19736 47 case $PACKAGE in
al@19736 48 acl)
al@19736 49 copy @std
al@19736 50 DEPENDS="attr"
al@19736 51 ;;
al@19736 52 acl-dev)
al@19736 53 copy @dev
al@19736 54 DEPENDS="acl attr-dev"
al@19736 55 ;;
al@19736 56 esac
rcx@3746 57 }