wok annotate linuxdcpp/receipt @ rev 13236
Move from undigest: nimrod
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:39:10 2012 +0200 (2012-08-14) |
parents | c1b55e26e205 |
children | ad59999b3fce |
rev | line source |
---|---|
pankso@4091 | 1 # SliTaz package receipt. |
pankso@4091 | 2 |
pankso@4091 | 3 PACKAGE="linuxdcpp" |
pankso@4091 | 4 VERSION="1.0.3" |
pankso@4091 | 5 CATEGORY="network" |
pankso@4091 | 6 SHORT_DESC="Direct Connect client based on DC++." |
pankso@4091 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@5030 | 8 DEPENDS="gtk+ libglade openssl gcc-lib-base bzlib" |
pascal@12457 | 9 BUILD_DEPENDS="gtk+-dev libglade-dev openssl-dev scons libglade bzlib bzip2-dev" |
pankso@4091 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4091 | 11 WEB_SITE="https://launchpad.net/linuxdcpp" |
pankso@4091 | 12 WGET_URL="http://mirror.slitaz.org/sources/packages/l/$TARBALL" |
pankso@4091 | 13 # Rules to configure and make the package. |
pankso@4091 | 14 compile_rules() |
pankso@4091 | 15 { |
pankso@4091 | 16 cd $src |
pankso@4091 | 17 mkdir -p $PWD/_pkg/usr |
pankso@4091 | 18 scons PREFIX=/usr && |
pankso@4091 | 19 scons PREFIX=$PWD/_pkg/usr install |
pankso@4091 | 20 } |
pankso@4091 | 21 |
pankso@4091 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4091 | 23 genpkg_rules() |
pankso@4091 | 24 { |
pankso@4091 | 25 mkdir -p $fs/usr/share/pixmaps |
pankso@4091 | 26 cp -a $_pkg/usr/bin $fs/usr |
pankso@4091 | 27 cp -a $_pkg/usr/share/linuxdcpp $fs/usr/share |
pankso@4091 | 28 cd $fs/usr/share/pixmaps |
pankso@4091 | 29 ln -s ../linuxdcpp/pixmaps/linuxdcpp.png . |
pankso@4091 | 30 } |