wok annotate attr/receipt @ rev 23934
hylafax: accept tiff version 4.1 as well
author | Hans-G?nter Theisgen |
---|---|
date | Mon Sep 07 16:46:15 2020 +0100 (2020-09-07) |
parents | 11b5e93cb5f2 |
children | 68cf96abc146 |
rev | line source |
---|---|
rcx@3647 | 1 # SliTaz package receipt. |
rcx@3647 | 2 |
rcx@3647 | 3 PACKAGE="attr" |
Hans-G?nter@20714 | 4 VERSION="2.4.48" |
rcx@3647 | 5 CATEGORY="system-tools" |
rcx@3647 | 6 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes." |
rcx@3647 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15379 | 8 LICENSE="GPL2" |
al@14789 | 9 WEB_SITE="http://savannah.nongnu.org/projects/attr/" |
Hans-G?nter@20714 | 10 |
Hans-G?nter@20714 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20714 | 12 WGET_URL="http://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 |
pankso@12819 | 20 arm) BUILD_DEPENDS="" ;; |
pankso@12819 | 21 esac |
rcx@3647 | 22 |
rcx@3647 | 23 # Rules to configure and make the package. |
rcx@3647 | 24 compile_rules() |
rcx@3647 | 25 { |
gokhlayeh@7893 | 26 # Need bash sh to compile |
gokhlayeh@7893 | 27 mv /bin/sh /bin/sh.bak |
gokhlayeh@7893 | 28 ln -s /bin/bash /bin/sh |
gokhlayeh@7893 | 29 |
al@19269 | 30 # No need to use rpm |
devl547@17664 | 31 rm /bin/rpm |
devl547@17664 | 32 |
devl547@17664 | 33 export INSTALL_USER=root INSTALL_GROUP=root |
devl547@17664 | 34 |
devl547@17664 | 35 ./configure $CONFIGURE_ARGS && |
devl547@17664 | 36 make && |
gokhlayeh@8216 | 37 make install install-lib install-dev DIST_ROOT=$DESTDIR |
devl547@17664 | 38 |
gokhlayeh@7893 | 39 mv -f /bin/sh.bak /bin/sh |
rcx@3647 | 40 } |
rcx@3647 | 41 |
rcx@3647 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3647 | 43 genpkg_rules() |
rcx@3647 | 44 { |
pascal@17665 | 45 mkdir -p $fs/usr/lib |
al@14789 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14789 | 47 cp -a $install/usr/bin $fs/usr |
al@14792 | 48 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \; |
rcx@3647 | 49 } |