SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gitmail"

# SliTaz package receipt.

PACKAGE="gitmail"
VERSION="0.4"
CATEGORY="network"
SHORT_DESC="Ghost In The Mail is a simple mail client."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://gitmail.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="gtk+ xorg-libXdamage"
BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/gitmail/files/gitmail/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/gitmail/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
    ./configure --prefix=/usr $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath &&
    make &&
    make DESTDIR=$DESTDIR \
    gitmaildocdir=/usr/share/doc/GhostInTheMail \
    install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)