wok-6.x view linuxdcpp/receipt @ rev 24623
updated graphviz, graphviz-dev and graphviz-doc again (2.42.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:41:52 2022 +0100 (2022-03-07) |
parents | 051931e905b0 |
children | 55841ecdccb4 |
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 LICENSE="GPL2"
9 DEPENDS="gtk+ libglade openssl gcc-lib-base bzlib"
10 BUILD_DEPENDS="gtk+-dev libglade-dev openssl-dev scons libglade bzlib bzip2-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="https://launchpad.net/linuxdcpp"
13 WGET_URL="http://mirror.slitaz.org/sources/packages/l/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/Latest version is/!d;s|.*is ||'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 mkdir -p $DESTDIR/usr
27 scons PREFIX=/usr &&
28 scons PREFIX=$DESTDIR/usr install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/pixmaps
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/linuxdcpp $fs/usr/share
37 cd $fs/usr/share/pixmaps
38 ln -s ../linuxdcpp/pixmaps/linuxdcpp.png .
39 }