wok-6.x annotate acl/receipt @ rev 20509

updated acl (2.2.51 -> 2.2.53)
author Hans-G?nter Theisgen
date Wed Oct 31 10:54:33 2018 +0100 (2018-10-31)
parents 11b5e93cb5f2
children ed16b1f1124a
rev   line source
rcx@3746 1 # SliTaz package receipt.
rcx@3746 2
rcx@3746 3 PACKAGE="acl"
Hans-G?nter@20509 4 VERSION="2.2.53"
rcx@3746 5 CATEGORY="system-tools"
rcx@3746 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/"
Hans-G?nter@20509 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@14766 11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
pankso@16066 12 HOST_ARCH="i486 arm"
al@14766 13
pankso@15988 14 DEPENDS="attr"
al@14766 15 BUILD_DEPENDS="attr-dev bash libtool"
rcx@3746 16
pankso@15988 17 # Handle cross compilation.
pankso@15988 18 case "$ARCH" in
pankso@15988 19 arm) BUILD_DEPENDS="attr-dev" ;;
pankso@15988 20 esac
pankso@15988 21
rcx@3746 22 # Rules to configure and make the package.
rcx@3746 23 compile_rules()
rcx@3746 24 {
al@14766 25 # Need bash as /bin/sh to compile
gokhlayeh@7894 26 mv /bin/sh /bin/sh.bak
gokhlayeh@7894 27 ln -s /bin/bash /bin/sh
gokhlayeh@7894 28
al@14766 29 {
al@14766 30 INSTALL_USER=root \
al@14766 31 INSTALL_GROUP=root \
al@14766 32 ./configure \
al@14766 33 --prefix=/usr \
al@14766 34 --libdir=/lib \
al@14766 35 --libexecdir=/usr/lib \
al@14766 36 $CONFIGURE_ARGS &&
al@14766 37 make &&
al@14766 38 DIST_ROOT=$DESTDIR \
al@14766 39 make install install-lib install-dev
al@14766 40 } || {
al@14766 41 mv -f /bin/sh.bak /bin/sh; return 1
al@14766 42 }
gokhlayeh@7894 43
gokhlayeh@7894 44 mv -f /bin/sh.bak /bin/sh
al@14766 45 # .so and .la files must be executable
al@14766 46 find $install -type f -name '*.[sl][oa]*' -exec chmod a+x \{\} \;
al@14766 47 sed -i "s|libdir='/lib'|libdir='/usr/lib'|" $install/usr/lib/libacl.la
rcx@3746 48 }
rcx@3746 49
rcx@3746 50 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3746 51 genpkg_rules()
rcx@3746 52 {
gokhlayeh@8050 53 mkdir -p $fs/lib $fs/usr/lib
al@14766 54 cp -a $install/lib/*.so* $fs/lib
al@14766 55 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14766 56 cp -a $install/usr/bin $fs/usr
rcx@3746 57 }