wok-current view attr/receipt @ rev 22120

updated wavemon (0.7.5 -> 0.9.0)
author Hans-G?nter Theisgen
date Sun Nov 03 15:16:39 2019 +0100 (2019-11-03)
parents 11b5e93cb5f2
children 68cf96abc146
line source
1 # SliTaz package receipt.
3 PACKAGE="attr"
4 VERSION="2.4.48"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 WEB_SITE="http://savannah.nongnu.org/projects/attr/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://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 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Need bash sh to compile
27 mv /bin/sh /bin/sh.bak
28 ln -s /bin/bash /bin/sh
30 # No need to use rpm
31 rm /bin/rpm
33 export INSTALL_USER=root INSTALL_GROUP=root
35 ./configure $CONFIGURE_ARGS &&
36 make &&
37 make install install-lib install-dev DIST_ROOT=$DESTDIR
39 mv -f /bin/sh.bak /bin/sh
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \;
49 }