wok view linuxdcpp/receipt @ rev 9330
Add boinc (user request)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:14:14 2011 +0100 (2011-03-18) |
parents | 3e599985638d |
children | 2a8e7120e71d |
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"
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 }