# SliTaz package receipt. PACKAGE="aalib" VERSION="1.4rc5" CATEGORY="multimedia" SHORT_DESC="A portable ASCII art graphic library" MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2" WEB_SITE="https://sourceforge.net/projects/aa-project/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/aa-project/$TARBALL" HOST_ARCH="i486 arm" DEPENDS="ncurses xorg-libXt xorg-libX11" BUILD_DEPENDS="ncurses-dev xorg-libXt-dev xorg-libX11-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/aa-project/files/aa-lib/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/aa-lib/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { patch -Np0 -i $stuff/aclocal-fixes.patch ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib }