wok-next view linuxdcpp/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents ee5c8b018b62
children 33df80a31584
line source
1 # SliTaz package receipt.
3 PACKAGE="linuxdcpp"
4 VERSION="1.0.3"
5 CATEGORY="network"
6 SHORT_DESC="Direct Connect client based on DC++."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="gtk+ libglade openssl gcc-lib-base bzlib"
10 BUILD_DEPENDS="gtk+-dev libglade-dev openssl-dev scons libglade bzlib bzip2-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="https://launchpad.net/linuxdcpp"
13 WGET_URL="http://mirror.slitaz.org/sources/packages/l/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir -p $DESTDIR/usr
19 scons PREFIX=/usr &&
20 scons PREFIX=$DESTDIR/usr install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/pixmaps
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/share/linuxdcpp $fs/usr/share
29 cd $fs/usr/share/pixmaps
30 ln -s ../linuxdcpp/pixmaps/linuxdcpp.png .
31 }