wok annotate attr/receipt @ rev 17712
Add libmatemixer
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Wed Mar 04 00:16:27 2015 -0300 (2015-03-04) |
parents | 3efd144781f8 |
children | 7f39549720b8 |
rev | line source |
---|---|
rcx@3647 | 1 # SliTaz package receipt. |
rcx@3647 | 2 |
rcx@3647 | 3 PACKAGE="attr" |
devl547@17648 | 4 VERSION="2.4.47" |
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/" |
rcx@6060 | 10 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz" |
rcx@6060 | 11 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL" |
pankso@12819 | 12 HOST_ARCH="i486 arm" |
pankso@12819 | 13 |
pankso@12819 | 14 DEPENDS="glibc-base" |
pankso@12819 | 15 BUILD_DEPENDS="autoconf automake m4 libtool gettext" |
pankso@12819 | 16 |
pankso@12819 | 17 # When cross compiling auto-tools, gettext and m4 build system are used. |
pankso@12819 | 18 case "$ARCH" in |
pankso@12819 | 19 arm) BUILD_DEPENDS="" ;; |
pankso@12819 | 20 esac |
rcx@3647 | 21 |
rcx@3647 | 22 # Rules to configure and make the package. |
rcx@3647 | 23 compile_rules() |
rcx@3647 | 24 { |
rcx@3647 | 25 cd $src |
rcx@3647 | 26 |
gokhlayeh@7893 | 27 # Need bash sh to compile |
gokhlayeh@7893 | 28 mv /bin/sh /bin/sh.bak |
gokhlayeh@7893 | 29 ln -s /bin/bash /bin/sh |
gokhlayeh@7893 | 30 |
devl547@17664 | 31 # No need to use rpm |
devl547@17664 | 32 rm /bin/rpm |
devl547@17664 | 33 |
devl547@17664 | 34 export INSTALL_USER=root INSTALL_GROUP=root |
devl547@17664 | 35 |
devl547@17664 | 36 ./configure $CONFIGURE_ARGS && |
devl547@17664 | 37 make && |
gokhlayeh@8216 | 38 make install install-lib install-dev DIST_ROOT=$DESTDIR |
devl547@17664 | 39 |
gokhlayeh@7893 | 40 mv -f /bin/sh.bak /bin/sh |
rcx@3647 | 41 } |
rcx@3647 | 42 |
rcx@3647 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3647 | 44 genpkg_rules() |
rcx@3647 | 45 { |
pascal@17665 | 46 mkdir -p $fs/usr/lib |
al@14789 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14789 | 48 cp -a $install/usr/bin $fs/usr |
al@14792 | 49 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \; |
rcx@3647 | 50 } |