wok-4.x view 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 source
1 # SliTaz package receipt.
3 PACKAGE="gdmap"
4 VERSION="0.8.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Tool to visualize diskspace"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://gdmap.sourceforge.net/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="gtk+"
13 BUILD_DEPENDS="libxml2-dev gtk+-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # gdmap not compiles without patches, so apply Debian patches
19 PATCH="gdmap_0.8.1-2.debian.tar.gz"
20 wget http://ftp.de.debian.org/debian/pool/main/g/gdmap/$PATCH
21 tar -xf $PATCH
22 for PATCH in $(cat ./debian/patches/series); do
23 patch -p1 < ./debian/patches/$PATCH
24 done
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }