wok-current view linuxdcpp/receipt @ rev 17247

Add gringotts
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 11:40:30 2014 +0200 (2014-10-19)
parents ee5c8b018b62
children 1bd2c6414e5a
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 }