wok annotate attr/receipt @ rev 25517
updated gvim 8.2 -> 9.0.0133
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 23 10:53:50 2023 +0100 (21 months ago) |
parents | 68cf96abc146 |
children |
rev | line source |
---|---|
rcx@3647 | 1 # SliTaz package receipt. |
rcx@3647 | 2 |
rcx@3647 | 3 PACKAGE="attr" |
Hans-G?nter@24331 | 4 VERSION="2.5.1" |
rcx@3647 | 5 CATEGORY="system-tools" |
Hans-G?nter@24331 | 6 SHORT_DESC="Commands for manipulating Filesystem Extended Attributes." |
rcx@3647 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15379 | 8 LICENSE="GPL2" |
Hans-G?nter@24331 | 9 WEB_SITE="https://savannah.nongnu.org/projects/attr/" |
Hans-G?nter@20714 | 10 |
Hans-G?nter@20714 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24331 | 12 WGET_URL="https://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" |
pankso@12819 | 13 |
pankso@12819 | 14 DEPENDS="glibc-base" |
pankso@12819 | 15 BUILD_DEPENDS="autoconf automake m4 libtool gettext" |
Hans-G?nter@20714 | 16 HOST_ARCH="i486 arm" |
pankso@12819 | 17 |
pankso@12819 | 18 # When cross compiling auto-tools, gettext and m4 build system are used. |
pankso@12819 | 19 case "$ARCH" in |
Hans-G?nter@24331 | 20 (arm) BUILD_DEPENDS="" ;; |
pankso@12819 | 21 esac |
rcx@3647 | 22 |
pascal@24066 | 23 current_version() |
pascal@24066 | 24 { |
pascal@24066 | 25 wget -O - http://download.savannah.nongnu.org/releases/attr/ 2>/dev/null | \ |
pascal@24066 | 26 sed '/href="attr/!d;s|.*attr-\([0-9\.]*\)\..*|\1|' | sed '$!d' |
pascal@24066 | 27 } |
pascal@24066 | 28 |
rcx@3647 | 29 # Rules to configure and make the package. |
rcx@3647 | 30 compile_rules() |
rcx@3647 | 31 { |
gokhlayeh@7893 | 32 # Need bash sh to compile |
gokhlayeh@7893 | 33 mv /bin/sh /bin/sh.bak |
gokhlayeh@7893 | 34 ln -s /bin/bash /bin/sh |
gokhlayeh@7893 | 35 |
al@19269 | 36 # No need to use rpm |
devl547@17664 | 37 rm /bin/rpm |
devl547@17664 | 38 |
Hans-G?nter@24331 | 39 export INSTALL_USER=root |
Hans-G?nter@24331 | 40 export INSTALL_GROUP=root |
devl547@17664 | 41 |
devl547@17664 | 42 ./configure $CONFIGURE_ARGS && |
devl547@17664 | 43 make && |
gokhlayeh@8216 | 44 make install install-lib install-dev DIST_ROOT=$DESTDIR |
devl547@17664 | 45 |
gokhlayeh@7893 | 46 mv -f /bin/sh.bak /bin/sh |
rcx@3647 | 47 } |
rcx@3647 | 48 |
rcx@3647 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3647 | 50 genpkg_rules() |
rcx@3647 | 51 { |
Hans-G?nter@24331 | 52 cook_copy_folders bin |
Hans-G?nter@24331 | 53 cook_copy_files *.so* |
Hans-G?nter@24331 | 54 |
al@14792 | 55 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \; |
rcx@3647 | 56 } |