wok view linuxdcpp/receipt @ rev 12440

linuxdcpp: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 21 17:55:27 2012 +0200 (2012-04-21)
parents 2a8e7120e71d
children 57d7a8a9dcdb
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"
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 }