# SliTaz package receipt. PACKAGE="miau" VERSION="0.6.6" CATEGORY="network" SHORT_DESC="Another IRC-bouncer/proxy." MAINTAINER="christophe.paris@free.fr" LICENSE="GPL2" WEB_SITE="https://miau.sourceforge.net/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/miau/$TARBALL" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/miau/files/miau/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/miau/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --docdir=/usr/share/doc \ $CONFIGURE_ARGS && make -j 1 && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/usr/share $fs/usr }