wok-4.x annotate acl/receipt @ rev 8029
Add all xorg changes from wok-experimental.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jan 19 19:41:12 2011 +0000 (2011-01-19) |
parents | 00abc38d049f |
children | cd2506f67c2e |
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 |
rcx@3746 | 19 # Patch commands are from http://minimalinux.org/forum/viewtopic.php?pid=1446#p1446 |
rcx@3746 | 20 |
rcx@3746 | 21 # these sed lines replace the patch "attr.destdir.diff" from the Slackware source files |
rcx@3746 | 22 sed -i s%"@bindir@"%"\$\(DESTDIR\)@bindir@"% include/builddefs.in |
rcx@3746 | 23 sed -i s%"@sbindir@"%"\$\(DESTDIR\)@sbindir@"% include/builddefs.in |
rcx@3746 | 24 sed -i s%"@libdir@@libdirsuffix@"%"\$\(DESTDIR\)@libdir@@libdirsuffix@"% include/builddefs.in |
rcx@3746 | 25 sed -i s%"@libexecdir@@libdirsuffix@"%"\$\(DESTDIR\)@libexecdir@@libdirsuffix@"% include/builddefs.in |
rcx@3746 | 26 sed -i s%"@includedir@/attr"%"\$\(DESTDIR\)@includedir@/attr"% include/builddefs.in |
rcx@3746 | 27 sed -i s%"@mandir@"%"\$\(DESTDIR\)@mandir@"% include/builddefs.in |
rcx@3746 | 28 |
rcx@3746 | 29 # force docdir conformance to Slack default |
rcx@3746 | 30 sed -i s%"@datadir@/doc/@pkg_name@"%"\$\(DESTDIR\)/usr/doc/@pkg_name@-\$\(VERSION\)"% include/builddefs.in |
rcx@3746 | 31 sed -i s%"@datadir@/locale"%"\$\(DESTDIR\)@datadir@/locale"% include/builddefs.in |
rcx@3746 | 32 |
rcx@3746 | 33 # Don't need to build man and doc |
rcx@6061 | 34 # rm -r -f man |
rcx@6061 | 35 # rm -r -f doc |
rcx@3746 | 36 |
gokhlayeh@7894 | 37 # Need bash sh to compile |
gokhlayeh@7894 | 38 mv /bin/sh /bin/sh.bak |
gokhlayeh@7894 | 39 ln -s /bin/bash /bin/sh |
gokhlayeh@7894 | 40 |
rcx@3747 | 41 # Configure is included in Makefile |
gokhlayeh@7894 | 42 { make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" && |
slaxemulator@7910 | 43 make install install-lib install-dev DESTDIR=$PWD/_pkg |
gokhlayeh@7894 | 44 } || { mv -f /bin/sh.bak /bin/sh; return 1; } |
gokhlayeh@7894 | 45 |
gokhlayeh@7894 | 46 mv -f /bin/sh.bak /bin/sh |
rcx@3746 | 47 } |
rcx@3746 | 48 |
rcx@3746 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3746 | 50 genpkg_rules() |
rcx@3746 | 51 { |
rcx@3747 | 52 mkdir -p $fs/lib |
rcx@3747 | 53 cp -a $_pkg/lib/*.so* $fs/lib |
rcx@3747 | 54 |
rcx@3753 | 55 # Symlinks are not created correctly; create manually |
rcx@3746 | 56 mkdir -p $fs/usr/lib |
rcx@3753 | 57 ln -s /lib/libacl.so $fs/usr/lib/libacl.so |
rcx@3747 | 58 |
rcx@3746 | 59 cp -a $_pkg/usr/bin $fs/usr |
rcx@3746 | 60 } |