wok-6.x annotate acl/receipt @ rev 25315
updated soprano and soprano-dev (2.8.0 -> 2.9.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 21 06:45:43 2022 +0100 (2022-07-21) |
parents | 68cf96abc146 |
children |
rev | line source |
---|---|
rcx@3746 | 1 # SliTaz package receipt. |
rcx@3746 | 2 |
rcx@3746 | 3 PACKAGE="acl" |
Hans-G?nter@24104 | 4 VERSION="2.3.1" |
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@24104 | 10 |
Hans-G?nter@20509 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14766 | 12 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" |
al@14766 | 13 |
pankso@15988 | 14 DEPENDS="attr" |
al@14766 | 15 BUILD_DEPENDS="attr-dev bash libtool" |
rcx@3746 | 16 |
Hans-G?nter@24104 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@24104 | 18 |
pankso@15988 | 19 # Handle cross compilation. |
pankso@15988 | 20 case "$ARCH" in |
pankso@15988 | 21 arm) BUILD_DEPENDS="attr-dev" ;; |
pankso@15988 | 22 esac |
pankso@15988 | 23 |
pascal@24066 | 24 current_version() |
pascal@24066 | 25 { |
pascal@24066 | 26 wget -O - http://download.savannah.nongnu.org/releases/acl/ 2>/dev/null | \ |
pascal@24066 | 27 sed '/href="acl/!d;s|.*acl-\([0-9\.]*\)\..*|\1|' | sed '$!d' |
pascal@24066 | 28 } |
pascal@24066 | 29 |
rcx@3746 | 30 # Rules to configure and make the package. |
rcx@3746 | 31 compile_rules() |
rcx@3746 | 32 { |
al@14766 | 33 # Need bash as /bin/sh to compile |
gokhlayeh@7894 | 34 mv /bin/sh /bin/sh.bak |
gokhlayeh@7894 | 35 ln -s /bin/bash /bin/sh |
gokhlayeh@7894 | 36 |
al@14766 | 37 { |
Hans-G?nter@24104 | 38 INSTALL_USER=root \ |
Hans-G?nter@24104 | 39 INSTALL_GROUP=root \ |
Hans-G?nter@24104 | 40 ./configure \ |
Hans-G?nter@24104 | 41 --prefix=/usr \ |
Hans-G?nter@24104 | 42 --libdir=/lib \ |
Hans-G?nter@24104 | 43 --libexecdir=/usr/lib \ |
al@14766 | 44 $CONFIGURE_ARGS && |
al@14766 | 45 make && |
pascal@20512 | 46 DIST_ROOT=$DESTDIR make install |
al@14766 | 47 } || { |
Hans-G?nter@24104 | 48 mv -f /bin/sh.bak /bin/sh |
Hans-G?nter@24104 | 49 return 1 |
al@14766 | 50 } |
gokhlayeh@7894 | 51 |
gokhlayeh@7894 | 52 mv -f /bin/sh.bak /bin/sh |
rcx@3746 | 53 } |
rcx@3746 | 54 |
rcx@3746 | 55 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3746 | 56 genpkg_rules() |
rcx@3746 | 57 { |
Hans-G?nter@24104 | 58 mkdir -p $fs/lib |
Hans-G?nter@24104 | 59 mkdir -p $fs/usr/lib |
Hans-G?nter@24104 | 60 |
Hans-G?nter@24104 | 61 cp -a $install/lib/*.so* $fs/lib |
Hans-G?nter@24104 | 62 ln -s /lib/libacl.so $fs/usr/lib/libacl.so |
Hans-G?nter@24104 | 63 cp -a $install/usr/bin $fs/usr |
rcx@3746 | 64 } |