wok-6.x diff 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 |
line diff
1.1 --- a/linuxdcpp/receipt Sat Feb 12 19:02:42 2022 +0000 1.2 +++ b/linuxdcpp/receipt Fri Apr 22 16:00:56 2022 +0000 1.3 @@ -1,16 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linuxdcpp" 1.7 -VERSION="1.0.3" 1.8 +VERSION="1.1.0" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Direct Connect client based on DC++." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -DEPENDS="gtk+ libglade openssl gcc-lib-base bzlib" 1.14 -BUILD_DEPENDS="gtk+-dev libglade-dev openssl-dev scons libglade bzlib bzip2-dev" 1.15 +WEB_SITE="https://launchpad.net/linuxdcpp" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 -WEB_SITE="https://launchpad.net/linuxdcpp" 1.19 -WGET_URL="http://mirror.slitaz.org/sources/packages/l/$TARBALL" 1.20 +WGET_URL="https://launchpad.net/$PACKAGE/${VERSION%.*}/$VERSION/+download/$TARBALL" 1.21 + 1.22 +DEPENDS="bzlib gcc-lib-base gtk+ libglade openssl" 1.23 +BUILD_DEPENDS="bzlib bzip2-dev freetype-dev gtk+-dev libboost-dev 1.24 + libglade-dev libnotify-dev openssl-dev scons" 1.25 1.26 # What is the latest version available today? 1.27 current_version() 1.28 @@ -22,8 +25,8 @@ 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - cd $src 1.33 mkdir -p $DESTDIR/usr 1.34 + 1.35 scons PREFIX=/usr && 1.36 scons PREFIX=$DESTDIR/usr install 1.37 } 1.38 @@ -32,8 +35,9 @@ 1.39 genpkg_rules() 1.40 { 1.41 mkdir -p $fs/usr/share/pixmaps 1.42 - cp -a $install/usr/bin $fs/usr 1.43 - cp -a $install/usr/share/linuxdcpp $fs/usr/share 1.44 - cd $fs/usr/share/pixmaps 1.45 + 1.46 + cook_copy_folders bin 1.47 + cp -a $install/usr/share/linuxdcpp $fs/usr/share 1.48 + cd $fs/usr/share/pixmaps 1.49 ln -s ../linuxdcpp/pixmaps/linuxdcpp.png . 1.50 }