wok-4.x rev 12377

Add gdmap [can't compile it in cooking/rolling]
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 07 01:23:55 2013 +0000 (2013-02-07)
parents c703ad69b608
children 31976c6bdebf
files gdmap/description.txt gdmap/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gdmap/description.txt	Thu Feb 07 01:23:55 2013 +0000
     1.3 @@ -0,0 +1,5 @@
     1.4 +GdMap is a tool which allows you to visualize disk space. Ever wondered why
     1.5 +your hard disk is full or what directory and files take up most of the space?
     1.6 +With GdMap these questions can be answered quickly. To display directory
     1.7 +structures cushion treemaps are used which visualize a complete folder or even
     1.8 +the whole hard drive with one picture.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gdmap/receipt	Thu Feb 07 01:23:55 2013 +0000
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="gdmap"
     2.7 +VERSION="0.8.1"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="Tool to visualize diskspace"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +WEB_SITE="http://gdmap.sourceforge.net/"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.14 +
    2.15 +DEPENDS="gtk+"
    2.16 +BUILD_DEPENDS="libxml2-dev gtk+-dev"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	# gdmap not compiles without patches, so apply Debian patches
    2.22 +	PATCH="gdmap_0.8.1-2.debian.tar.gz"
    2.23 +	wget http://ftp.de.debian.org/debian/pool/main/g/gdmap/$PATCH
    2.24 +	tar -xf $PATCH
    2.25 +	for PATCH in $(cat ./debian/patches/series); do
    2.26 +		patch -p1 < ./debian/patches/$PATCH
    2.27 +	done
    2.28 +
    2.29 +	./configure $CONFIGURE_ARGS && make && make install
    2.30 +}
    2.31 +
    2.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.33 +genpkg_rules()
    2.34 +{
    2.35 +	cp -a $install/* $fs
    2.36 +}