wok-4.x rev 7751

Add gnome-vfs.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Dec 20 22:59:24 2010 +0000 (2010-12-20)
parents fc1088e5ec0e
children c52ad78e9810
files gnome-vfs-dev/receipt gnome-vfs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-vfs-dev/receipt	Mon Dec 20 22:59:24 2010 +0000
     1.3 @@ -0,0 +1,24 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnome-vfs-dev"
     1.7 +VERSION="2.24.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The GNOME Virtual File System libraries dev files"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="gnome-vfs"
    1.12 +WEB_SITE="http://www.gnome.org"
    1.13 +WANTED="gnome-vfs"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/lib/gnome-vfs-2.0 $fs/usr/lib
    1.23 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.24 +	
    1.25 +	# Clean unwated files
    1.26 +	cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \;
    1.27 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gnome-vfs/receipt	Mon Dec 20 22:59:24 2010 +0000
     2.3 @@ -0,0 +1,40 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="gnome-vfs"
     2.7 +VERSION="2.24.4"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="The GNOME Virtual File System libraries"
    2.10 +MAINTAINER="erjo@slitaz.org"
    2.11 +DEPENDS="dbus-glib GConf gnome-mime-data"
    2.12 +BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data libxml2-dev zlib-dev intltool pkg-config"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +WEB_SITE="http://www.gnome.org"
    2.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	./configure \
    2.22 +		--prefix=/usr \
    2.23 +		--sysconfdir=/etc/gnome \
    2.24 +		--libexecdir=/usr/lib/gnome-vfs-2.0 \
    2.25 +		$CONFIGURE_ARGS &&
    2.26 +	make && make DESTDIR=$PWD/_pkg install
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	mkdir -p $fs/usr/share $fs/usr/lib
    2.33 +	cp -a $_pkg/usr/bin $fs/usr
    2.34 +	cp -a $_pkg/usr/share/dbus* $fs/usr/share
    2.35 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.36 +	cp -a $_pkg/usr/lib/gnome-vfs* $fs/usr/lib
    2.37 +	
    2.38 +	# Clean unwated files
    2.39 +	cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
    2.40 +	
    2.41 +	# Stripping all
    2.42 +	find . -name "*.so" -exec strip -s {} \;
    2.43 +}