wok view tazdrop/receipt @ rev 25769
libmaxminddb, ndpi: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 09:45:40 2024 +0000 (2 months ago) |
parents | f7a13af08fc7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazdrop"
4 VERSION="1030"
5 CATEGORY="office"
6 SHORT_DESC="SliTaz desktop Drag N' Drop tool"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 SOURCE="slitaz-tools"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://hg.slitaz.org/$SOURCE/archive/$VERSION.tar.gz"
14 DEPENDS="gtk+ yad"
15 SIBLINGS="slitaz-tools slitaz-tools-boxes"
17 current_version()
18 {
19 wget -O - http://hg.slitaz.org/slitaz-tools/ 2>/dev/null | \
20 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-tools/rev/|;s|<.*||' | \
21 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make msgfmt
28 cd $src/tazdrop
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs
36 cp -a $install/* $fs
37 }