wok-current view attr/receipt @ rev 17065
pack from qt4-base: libQtWebkit + qtconfig, rename old: qtconfig-phonon + libQtWebkit-video(add_gst*deps)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Aug 22 05:24:00 2014 +0200 (2014-08-22) |
parents | 2a5cc8208d36 |
children | 48b3913df4ef |
line source
1 # SliTaz package receipt.
3 PACKAGE="attr"
4 VERSION="2.4.46"
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/"
10 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz"
11 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="autoconf automake m4 libtool gettext"
17 # When cross compiling auto-tools, gettext and m4 build system are used.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
27 # Need bash sh to compile
28 mv /bin/sh /bin/sh.bak
29 ln -s /bin/bash /bin/sh
31 # Configure is included in Makefile
32 { make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
33 make install install-lib install-dev DIST_ROOT=$DESTDIR
34 } || { mv -f /bin/sh.bak /bin/sh; return 1; }
36 mv -f /bin/sh.bak /bin/sh
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/lib $fs/usr/lib
43 cp -a $install/lib/*.so* $fs/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \;
47 # Fix /usr/lib/libattr.so
48 cd $fs/usr/lib
49 rm libattr.so && ln -s ../../lib/libattr.so
50 }