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