wok-6.x rev 5871

Add: libgtkimageview 1.6.4
author Antoine Bodin <gokhlayeh@mailoo.org>
date Tue Jul 20 19:00:17 2010 +0200 (2010-07-20)
parents 539e5f4f40a5
children 3a5b24125557
files libgtkimageview-dev/receipt libgtkimageview/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libgtkimageview-dev/receipt	Tue Jul 20 19:00:17 2010 +0200
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libgtkimageview-dev"
     1.7 +VERSION="1.6.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Simple image viewer widget for GTK devel files."
    1.10 +SOURCE="gtkimageview"
    1.11 +MAINTAINER="gokhlayeh@mailoo.org"
    1.12 +WANTED="libgtkimageview"
    1.13 +WEB_SITE="http://trac.bjourne.webfactional.com/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    1.19 +	mkdir -p $fs/usr
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +	cp -a $_pkg/usr/lib $fs/usr
    1.22 +	# Remove libraries files
    1.23 +	cd $fs/usr/lib
    1.24 +	rm -r *.so*
    1.25 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libgtkimageview/receipt	Tue Jul 20 19:00:17 2010 +0200
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libgtkimageview"
     2.7 +VERSION="1.6.4"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="Simple image viewer widget for GTK."
    2.10 +MAINTAINER="gokhlayeh@mailoo.org"
    2.11 +DEPENDS="gtk+"
    2.12 +BUILD_DEPENDS="gtk+-dev expat-dev"
    2.13 +SOURCE="gtkimageview"
    2.14 +TARBALL="$SOURCE-$VERSION.tar.gz?format=raw"
    2.15 +WEB_SITE="http://trac.bjourne.webfactional.com/" 
    2.16 +WGET_URL="http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/$TARBALL"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	cd $src
    2.22 +	./configure \
    2.23 +		--prefix=/usr \
    2.24 +		--infodir=/usr/share/info \
    2.25 +		--mandir=/usr/share/man \
    2.26 +		$CONFIGURE_ARGS &&
    2.27 +	make && make DESTDIR=$PWD/_pkg install	
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	mkdir -p $fs/usr
    2.34 +	cp -a $_pkg/usr/lib $fs/usr
    2.35 +	# Remove devel files
    2.36 +	cd $fs/usr/lib
    2.37 +	rm -r libgtkimageview.a libgtkimageview.la pkgconfig/
    2.38 +}