wok-next annotate acl/receipt @ rev 13355
Add naim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 10 16:30:34 2012 +0200 (2012-09-10) |
parents | 3f0ba5c96b60 |
children | 164afa784523 |
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" |
rcx@3746 | 8 DEPENDS="glibc-base attr" |
pascal@12389 | 9 BUILD_DEPENDS="autoconf automake m4 libtool gettext attr-dev attr bash" |
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 } |