wok annotate gitmail/receipt @ rev 24987
grub: add gpt support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 07:08:39 2022 +0000 (2022-05-12) |
parents | 17e313b5b9c1 |
children | 7dd01dedad38 |
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 |
pascal@24403 | 16 # What is the latest version available today? |
pascal@24403 | 17 current_version() |
pascal@24403 | 18 { |
pascal@24403 | 19 wget -O - https://sourceforge.net/projects/gitmail/files/gitmail/ 2>/dev/null | \ |
pascal@24403 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24403 | 21 sed '/scope="row/!d;s|.*/gitmail/||;s|/.*||;q' |
pascal@24403 | 22 } |
pascal@24403 | 23 |
pankso@43 | 24 # Rules to configure and make the package. |
pankso@43 | 25 compile_rules() |
pankso@43 | 26 { |
gokhlayeh@8792 | 27 cd $src |
pascal@17670 | 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread" |
pascal@15157 | 29 ./configure --prefix=/usr $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath && |
pascal@1511 | 30 make && |
pascal@15110 | 31 make DESTDIR=$DESTDIR \ |
pankso@43 | 32 gitmaildocdir=/usr/share/doc/GhostInTheMail \ |
pankso@43 | 33 install |
pankso@43 | 34 } |
pankso@43 | 35 |
pankso@43 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 37 genpkg_rules() |
pankso@43 | 38 { |
pankso@43 | 39 mkdir -p $fs/usr |
pascal@15110 | 40 cp -a $install/usr/bin $fs/usr |
pankso@43 | 41 } |