wok-stable annotate gdmap/receipt @ rev 12465
Up e2fsprogs (1.44.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 04 18:42:23 2019 +0100 (2019-03-04) |
parents | |
children |
rev | line source |
---|---|
al@12377 | 1 # SliTaz package receipt. |
al@12377 | 2 |
al@12377 | 3 PACKAGE="gdmap" |
al@12377 | 4 VERSION="0.8.1" |
al@12377 | 5 CATEGORY="utilities" |
al@12377 | 6 SHORT_DESC="Tool to visualize diskspace" |
al@12377 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@12377 | 8 WEB_SITE="http://gdmap.sourceforge.net/" |
al@12377 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@12377 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@12377 | 11 |
al@12377 | 12 DEPENDS="gtk+" |
al@12377 | 13 BUILD_DEPENDS="libxml2-dev gtk+-dev" |
al@12377 | 14 |
al@12377 | 15 # Rules to configure and make the package. |
al@12377 | 16 compile_rules() |
al@12377 | 17 { |
al@12377 | 18 # gdmap not compiles without patches, so apply Debian patches |
al@12377 | 19 PATCH="gdmap_0.8.1-2.debian.tar.gz" |
al@12377 | 20 wget http://ftp.de.debian.org/debian/pool/main/g/gdmap/$PATCH |
al@12377 | 21 tar -xf $PATCH |
al@12377 | 22 for PATCH in $(cat ./debian/patches/series); do |
al@12377 | 23 patch -p1 < ./debian/patches/$PATCH |
al@12377 | 24 done |
al@12377 | 25 |
al@12377 | 26 ./configure $CONFIGURE_ARGS && make && make install |
al@12377 | 27 } |
al@12377 | 28 |
al@12377 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@12377 | 30 genpkg_rules() |
al@12377 | 31 { |
al@12377 | 32 cp -a $install/* $fs |
al@12377 | 33 } |