wok-current annotate gitmail/receipt @ rev 20566
tcc: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 23:37:24 2018 +0100 (2018-12-12) |
parents | d3fe634de29c |
children | 932cd974e081 |
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" |
pascal@15157 | 8 LICENSE="GPL2" |
pankso@43 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15157 | 10 WEB_SITE="http://gitmail.sourceforge.net/" |
pascal@15157 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15157 | 12 |
pascal@2516 | 13 DEPENDS="gtk+ xorg-libXdamage" |
pascal@1514 | 14 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev" |
pankso@43 | 15 |
pankso@43 | 16 # Rules to configure and make the package. |
pankso@43 | 17 compile_rules() |
pankso@43 | 18 { |
gokhlayeh@8792 | 19 cd $src |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread" |
pascal@15157 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath && |
pascal@1511 | 22 make && |
pascal@15110 | 23 make DESTDIR=$DESTDIR \ |
pankso@43 | 24 gitmaildocdir=/usr/share/doc/GhostInTheMail \ |
pankso@43 | 25 install |
pankso@43 | 26 } |
pankso@43 | 27 |
pankso@43 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 29 genpkg_rules() |
pankso@43 | 30 { |
pankso@43 | 31 mkdir -p $fs/usr |
pascal@15110 | 32 cp -a $install/usr/bin $fs/usr |
pankso@43 | 33 } |