wok view attr/receipt @ rev 24472

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