wok view linuxdcpp/receipt @ rev 12488

Up: parted (3.1) and fix deps/bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 24 11:18:34 2012 +0200 (2012-04-24)
parents c1b55e26e205
children ad59999b3fce
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 DEPENDS="gtk+ libglade openssl gcc-lib-base bzlib"
9 BUILD_DEPENDS="gtk+-dev libglade-dev openssl-dev scons libglade bzlib bzip2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://launchpad.net/linuxdcpp"
12 WGET_URL="http://mirror.slitaz.org/sources/packages/l/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 mkdir -p $PWD/_pkg/usr
18 scons PREFIX=/usr &&
19 scons PREFIX=$PWD/_pkg/usr install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/pixmaps
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/share/linuxdcpp $fs/usr/share
28 cd $fs/usr/share/pixmaps
29 ln -s ../linuxdcpp/pixmaps/linuxdcpp.png .
30 }