wok annotate acl/receipt @ rev 15495

Up: firefox-langpack-it (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 17 16:29:59 2013 +0100 (2013-11-17)
parents 2b8af769d8a8
children 7e1257627587
rev   line source
rcx@3746 1 # SliTaz package receipt.
rcx@3746 2
rcx@3746 3 PACKAGE="acl"
slaxemulator@10127 4 VERSION="2.2.51"
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/"
al@14766 10 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
al@14766 11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
al@14766 12
al@14766 13 DEPENDS="attr glibc-base"
al@14766 14 BUILD_DEPENDS="attr-dev bash libtool"
rcx@3746 15
rcx@3746 16 # Rules to configure and make the package.
rcx@3746 17 compile_rules()
rcx@3746 18 {
al@14766 19 # Need bash as /bin/sh to compile
gokhlayeh@7894 20 mv /bin/sh /bin/sh.bak
gokhlayeh@7894 21 ln -s /bin/bash /bin/sh
gokhlayeh@7894 22
al@14766 23 {
al@14766 24 INSTALL_USER=root \
al@14766 25 INSTALL_GROUP=root \
al@14766 26 ./configure \
al@14766 27 --prefix=/usr \
al@14766 28 --libdir=/lib \
al@14766 29 --libexecdir=/usr/lib \
al@14766 30 $CONFIGURE_ARGS &&
al@14766 31 make &&
al@14766 32 DIST_ROOT=$DESTDIR \
al@14766 33 make install install-lib install-dev
al@14766 34 } || {
al@14766 35 mv -f /bin/sh.bak /bin/sh; return 1
al@14766 36 }
gokhlayeh@7894 37
gokhlayeh@7894 38 mv -f /bin/sh.bak /bin/sh
al@14766 39 # .so and .la files must be executable
al@14766 40 find $install -type f -name '*.[sl][oa]*' -exec chmod a+x \{\} \;
al@14766 41 sed -i "s|libdir='/lib'|libdir='/usr/lib'|" $install/usr/lib/libacl.la
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 {
gokhlayeh@8050 47 mkdir -p $fs/lib $fs/usr/lib
al@14766 48 cp -a $install/lib/*.so* $fs/lib
al@14766 49 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14766 50 cp -a $install/usr/bin $fs/usr
rcx@3746 51 }