wok-6.x view linuxdcpp/receipt @ rev 15384

Add licenses
author Dominique Corbex <domcox@slitaz.org>
date Mon Oct 21 23:10:53 2013 +0200 (2013-10-21)
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 }