wok-6.x annotate linuxdcpp/receipt @ rev 24945
fix BootProg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 22 16:00:56 2022 +0000 (2022-04-22) |
parents | 1bd2c6414e5a |
children |
rev | line source |
---|---|
pankso@4091 | 1 # SliTaz package receipt. |
pankso@4091 | 2 |
pankso@4091 | 3 PACKAGE="linuxdcpp" |
Hans-G?nter@24859 | 4 VERSION="1.1.0" |
pankso@4091 | 5 CATEGORY="network" |
pankso@4091 | 6 SHORT_DESC="Direct Connect client based on DC++." |
pankso@4091 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14657 | 8 LICENSE="GPL2" |
Hans-G?nter@24859 | 9 WEB_SITE="https://launchpad.net/linuxdcpp" |
Hans-G?nter@24859 | 10 |
pankso@4091 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@24859 | 12 WGET_URL="https://launchpad.net/$PACKAGE/${VERSION%.*}/$VERSION/+download/$TARBALL" |
Hans-G?nter@24859 | 13 |
Hans-G?nter@24859 | 14 DEPENDS="bzlib gcc-lib-base gtk+ libglade openssl" |
Hans-G?nter@24859 | 15 BUILD_DEPENDS="bzlib bzip2-dev freetype-dev gtk+-dev libboost-dev |
Hans-G?nter@24859 | 16 libglade-dev libnotify-dev openssl-dev scons" |
pascal@24434 | 17 |
pascal@24434 | 18 # What is the latest version available today? |
pascal@24434 | 19 current_version() |
pascal@24434 | 20 { |
pascal@24434 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 22 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 23 } |
pascal@24434 | 24 |
pankso@4091 | 25 # Rules to configure and make the package. |
pankso@4091 | 26 compile_rules() |
pankso@4091 | 27 { |
pascal@15602 | 28 mkdir -p $DESTDIR/usr |
Hans-G?nter@24859 | 29 |
pankso@4091 | 30 scons PREFIX=/usr && |
pascal@15602 | 31 scons PREFIX=$DESTDIR/usr install |
pankso@4091 | 32 } |
pankso@4091 | 33 |
pankso@4091 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4091 | 35 genpkg_rules() |
pankso@4091 | 36 { |
pankso@4091 | 37 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@24859 | 38 |
Hans-G?nter@24859 | 39 cook_copy_folders bin |
Hans-G?nter@24859 | 40 cp -a $install/usr/share/linuxdcpp $fs/usr/share |
Hans-G?nter@24859 | 41 cd $fs/usr/share/pixmaps |
pankso@4091 | 42 ln -s ../linuxdcpp/pixmaps/linuxdcpp.png . |
pankso@4091 | 43 } |