SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "transmission"

# SliTaz package receipt.

PACKAGE="transmission"
VERSION="2.50"
CATEGORY="network"
SHORT_DESC="Light and easy to use BitTorrent client."
MAINTAINER="pankso@slitaz.org"
SUGGESTED="transmission-web transmission-cli transmission-daemon"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="http://www.transmissionbt.com/"
WGET_URL="http://download.transmissionbt.com/files/$TARBALL"
TAGS="torrent"

DEPENDS="gtk+ libssl libcurl libevent"
BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev libevent-dev tar intltool"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --enable-lightweight \
        $CONFIGURE_ARGS && \
    make && make install &&
    rm -rf $install/usr/share/applications
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share/applications
    cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
}

# Remove old packages name
post_install()
{
    rm -f $1/usr/bin/transmission-gtk
    rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)