wok view linuxdcpp/receipt @ rev 15322

Up parole (0.5.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 19:24:26 2013 +0000 (2013-09-27)
parents 57d7a8a9dcdb
children ee5c8b018b62
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 $PWD/_pkg/usr
19 scons PREFIX=/usr &&
20 scons PREFIX=$PWD/_pkg/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 $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/linuxdcpp $fs/usr/share
29 cd $fs/usr/share/pixmaps
30 ln -s ../linuxdcpp/pixmaps/linuxdcpp.png .
31 }