wok-4.x diff gdmap/receipt @ 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 | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gdmap/receipt Thu Feb 07 01:23:55 2013 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gdmap" 1.7 +VERSION="0.8.1" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Tool to visualize diskspace" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +WEB_SITE="http://gdmap.sourceforge.net/" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +DEPENDS="gtk+" 1.16 +BUILD_DEPENDS="libxml2-dev gtk+-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + # gdmap not compiles without patches, so apply Debian patches 1.22 + PATCH="gdmap_0.8.1-2.debian.tar.gz" 1.23 + wget http://ftp.de.debian.org/debian/pool/main/g/gdmap/$PATCH 1.24 + tar -xf $PATCH 1.25 + for PATCH in $(cat ./debian/patches/series); do 1.26 + patch -p1 < ./debian/patches/$PATCH 1.27 + done 1.28 + 1.29 + ./configure $CONFIGURE_ARGS && make && make install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + cp -a $install/* $fs 1.36 +}