wok annotate miau/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 01a570aaca8b
children 7dd01dedad38
rev   line source
pascal@1752 1 # SliTaz package receipt.
pascal@1752 2
pascal@1752 3 PACKAGE="miau"
Hans-G?nter@21436 4 VERSION="0.6.6"
pascal@1752 5 CATEGORY="network"
pascal@1752 6 SHORT_DESC="Another IRC-bouncer/proxy."
pascal@1752 7 MAINTAINER="christophe.paris@free.fr"
pascal@15584 8 LICENSE="GPL2"
Hans-G?nter@21436 9 WEB_SITE="http://miau.sourceforge.net/"
Hans-G?nter@21436 10
pascal@1752 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1752 12 WGET_URL="http://downloads.sourceforge.net/miau/$TARBALL"
pascal@1752 13
pascal@24361 14 # What is the latest version available today?
pascal@24361 15 current_version()
pascal@24361 16 {
pascal@24361 17 wget -O - https://sourceforge.net/projects/miau/files/miau/ 2>/dev/null | \
pascal@24361 18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 19 sed '/scope="row/!d;s|.*/miau/||;s|/.*||;q'
pascal@24361 20 }
pascal@24361 21
pascal@1752 22 # Rules to configure and make the package.
pascal@1752 23 compile_rules()
pascal@1752 24 {
Hans-G?nter@21436 25 ./configure \
Hans-G?nter@21436 26 --prefix=/usr \
Hans-G?nter@21436 27 --infodir=/usr/share/info \
Hans-G?nter@21436 28 --mandir=/usr/share/man \
Hans-G?nter@21436 29 --docdir=/usr/share/doc \
pascal@1752 30 $CONFIGURE_ARGS &&
Hans-G?nter@21436 31 make -j 1 &&
pascal@15584 32 make DESTDIR=$DESTDIR install
pascal@1752 33 }
pascal@1752 34
pascal@1752 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1752 36 genpkg_rules()
pascal@1752 37 {
pascal@1752 38 mkdir -p $fs/usr
Hans-G?nter@21436 39
Hans-G?nter@21436 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21436 41 cp -a $install/usr/share $fs/usr
pascal@1752 42 }