wok-6.x annotate acl/receipt @ rev 8776
Up: tazwok (4.0) - New function, improvement and use each time a clean chroot to build package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 22 13:00:23 2011 +0100 (2011-02-22) |
parents | cd2506f67c2e |
children | 242a015e1b52 |
rev | line source |
---|---|
rcx@3746 | 1 # SliTaz package receipt. |
rcx@3746 | 2 |
rcx@3746 | 3 PACKAGE="acl" |
rcx@6061 | 4 VERSION="2.2.49" |
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" |
rcx@3746 | 8 DEPENDS="glibc-base attr" |
rcx@3753 | 9 BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 libtool gettext attr-dev attr" |
rcx@6061 | 10 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz" |
rcx@3746 | 11 WEB_SITE="http://savannah.nongnu.org/projects/acl/" |
rcx@6061 | 12 WGET_URL="http://nongnu.askapache.com/$PACKAGE/$TARBALL" |
rcx@3746 | 13 |
rcx@3746 | 14 # Rules to configure and make the package. |
rcx@3746 | 15 compile_rules() |
rcx@3746 | 16 { |
rcx@3746 | 17 cd $src |
rcx@3746 | 18 |
gokhlayeh@7894 | 19 # Need bash sh to compile |
gokhlayeh@7894 | 20 mv /bin/sh /bin/sh.bak |
gokhlayeh@7894 | 21 ln -s /bin/bash /bin/sh |
gokhlayeh@7894 | 22 |
rcx@3747 | 23 # Configure is included in Makefile |
gokhlayeh@7894 | 24 { make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" && |
gokhlayeh@8215 | 25 make install install-lib install-dev DIST_ROOT=$DESTDIR |
gokhlayeh@7894 | 26 } || { mv -f /bin/sh.bak /bin/sh; return 1; } |
gokhlayeh@7894 | 27 |
gokhlayeh@7894 | 28 mv -f /bin/sh.bak /bin/sh |
rcx@3746 | 29 } |
rcx@3746 | 30 |
rcx@3746 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3746 | 32 genpkg_rules() |
rcx@3746 | 33 { |
gokhlayeh@8050 | 34 mkdir -p $fs/lib $fs/usr/lib |
rcx@3747 | 35 cp -a $_pkg/lib/*.so* $fs/lib |
gokhlayeh@8050 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3746 | 37 cp -a $_pkg/usr/bin $fs/usr |
rcx@3746 | 38 } |