wok-current annotate gitmail/receipt @ rev 8792
Fix compile_rules() for gitmail
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 22 23:44:49 2011 +0100 (2011-02-22) |
parents | 8b79c3ee7ac2 |
children | 670cf2c7c125 |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="gitmail" |
pankso@43 | 4 VERSION="0.4" |
pankso@203 | 5 CATEGORY="network" |
pankso@43 | 6 SHORT_DESC="Ghost In The Mail is a simple mail client." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@43 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2516 | 9 DEPENDS="gtk+ xorg-libXdamage" |
pascal@1514 | 10 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev" |
pankso@43 | 11 WEB_SITE="http://gitmail.sourceforge.net/" |
pankso@43 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@43 | 13 |
pankso@43 | 14 # Rules to configure and make the package. |
pankso@43 | 15 compile_rules() |
pankso@43 | 16 { |
gokhlayeh@8792 | 17 cd $src |
pascal@1511 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1511 | 19 make && |
pankso@43 | 20 make DESTDIR=$PWD/_pkg \ |
pankso@43 | 21 gitmaildocdir=/usr/share/doc/GhostInTheMail \ |
pankso@43 | 22 install |
pankso@43 | 23 } |
pankso@43 | 24 |
pankso@43 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 26 genpkg_rules() |
pankso@43 | 27 { |
pankso@43 | 28 mkdir -p $fs/usr |
pankso@43 | 29 cp -a GhostInTheMail-$VERSION/_pkg/usr/bin $fs/usr |
pankso@43 | 30 strip -s $fs/usr/bin/* |
pankso@43 | 31 } |