wok view miau/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 | 65ff25c4de90 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="miau"
4 VERSION="0.6.6"
5 CATEGORY="network"
6 SHORT_DESC="Another IRC-bouncer/proxy."
7 MAINTAINER="christophe.paris@free.fr"
8 LICENSE="GPL2"
9 WEB_SITE="https://miau.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/miau/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/miau/files/miau/ 2>/dev/null | \
18 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
19 sed '/scope="row/!d;s|.*/miau/||;s|/.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --docdir=/usr/share/doc \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share $fs/usr
42 }