# HG changeset patch # User Christopher Rogers # Date 1292885964 0 # Node ID 5be1dee36669fd18c8de641e3d3ab6c16fd53a1a # Parent fc1088e5ec0ee09c6a01d107333e622db669a620 Add gnome-vfs. diff -r fc1088e5ec0e -r 5be1dee36669 gnome-vfs-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-vfs-dev/receipt Mon Dec 20 22:59:24 2010 +0000 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="gnome-vfs-dev" +VERSION="2.24.4" +CATEGORY="development" +SHORT_DESC="The GNOME Virtual File System libraries dev files" +MAINTAINER="erjo@slitaz.org" +DEPENDS="gnome-vfs" +WEB_SITE="http://www.gnome.org" +WANTED="gnome-vfs" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/gnome-vfs-2.0 $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + + # Clean unwated files + cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; +} diff -r fc1088e5ec0e -r 5be1dee36669 gnome-vfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-vfs/receipt Mon Dec 20 22:59:24 2010 +0000 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="gnome-vfs" +VERSION="2.24.4" +CATEGORY="x-window" +SHORT_DESC="The GNOME Virtual File System libraries" +MAINTAINER="erjo@slitaz.org" +DEPENDS="dbus-glib GConf gnome-mime-data" +BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data libxml2-dev zlib-dev intltool pkg-config" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnome.org" +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/gnome \ + --libexecdir=/usr/lib/gnome-vfs-2.0 \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/dbus* $fs/usr/share + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/gnome-vfs* $fs/usr/lib + + # Clean unwated files + cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \; + + # Stripping all + find . -name "*.so" -exec strip -s {} \; +}