# SliTaz package receipt. PACKAGE="mikmod" VERSION="3.2.8" CATEGORY="multimedia" SHORT_DESC="Mikmod module player." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" WEB_SITE="http://mikmod.shlomifish.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" DEPENDS="libmikmod ncurses" BUILD_DEPENDS="libmikmod-dev ncurses-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/mikmod/files/mikmod/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/mikmod/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -ltinfo" ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make -j 1 && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/mikmod $fs/usr/share }