wok-6.x diff gnome-vfs/receipt @ rev 9202
Up: mesa to 7.10.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 10 11:41:54 2011 +0000 (2011-03-10) |
parents | |
children | 02bbaa9d12ba |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnome-vfs/receipt Thu Mar 10 11:41:54 2011 +0000 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnome-vfs" 1.7 +VERSION="2.24.4" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="The GNOME Virtual File System libraries" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="dbus-glib GConf gnome-mime-data" 1.12 +BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data libxml2-dev zlib-dev intltool pkg-config" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.gnome.org" 1.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + --sysconfdir=/etc/gnome \ 1.24 + --libexecdir=/usr/lib/gnome-vfs-2.0 \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share $fs/usr/lib 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/usr/share/dbus* $fs/usr/share 1.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.36 + cp -a $_pkg/usr/lib/gnome-vfs* $fs/usr/lib 1.37 + 1.38 + # Clean unwated files 1.39 + cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \; 1.40 + 1.41 + # Stripping all 1.42 + find . -name "*.so" -exec strip -s {} \; 1.43 +}