wok-next annotate linuxdcpp/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 33df80a31584
children d5aab818505e
rev   line source
al@21017 1 # SliTaz package receipt v2.
pankso@4091 2
pankso@4091 3 PACKAGE="linuxdcpp"
pankso@4091 4 VERSION="1.0.3"
pankso@4091 5 CATEGORY="network"
al@21017 6 SHORT_DESC="Direct Connect client based on DC++"
pankso@4091 7 MAINTAINER="pankso@slitaz.org"
pascal@14657 8 LICENSE="GPL2"
al@21017 9 WEB_SITE="https://launchpad.net/linuxdcpp"
al@21017 10
pankso@4091 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4091 12 WGET_URL="http://mirror.slitaz.org/sources/packages/l/$TARBALL"
al@21017 13
al@21017 14 BUILD_DEPENDS="gtk2-dev libglade-dev openssl-dev scons2 libglade bzlib bzip2-dev"
al@21017 15
al@21017 16 compile_rules() {
pascal@15602 17 mkdir -p $DESTDIR/usr
pankso@4091 18 scons PREFIX=/usr &&
pascal@15602 19 scons PREFIX=$DESTDIR/usr install
pankso@4091 20 }
pankso@4091 21
al@21017 22 genpkg_rules() {
pankso@4091 23 mkdir -p $fs/usr/share/pixmaps
pascal@15603 24 cp -a $install/usr/bin $fs/usr
pascal@15603 25 cp -a $install/usr/share/linuxdcpp $fs/usr/share
pankso@4091 26 cd $fs/usr/share/pixmaps
pankso@4091 27 ln -s ../linuxdcpp/pixmaps/linuxdcpp.png .
al@21017 28 DEPENDS="gtk2 libglade openssl gcc-lib-base bzlib"
pankso@4091 29 }