# SliTaz package receipt. PACKAGE="manaplus" VERSION="2.1.3.17" CATEGORY="games" SHORT_DESC="Extended client for Evol Online and The Mana World." MAINTAINER="admin@trixarian.net" LICENSE="GPL2" WEB_SITE="https://manaplus.org/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="http://download.evolonline.org/manaplus/download/$VERSION/$TARBALL" SUGGESTED="manaplus-lang" DEPENDS="curl libpng libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsdl-ttf libxml2 physfs ttf-dejavu zlib" BUILD_DEPENDS="curl-dev enet libpng-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev libxml2-dev physfs-dev zlib-dev" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/Latest version/!d;s|.*version: ||;s|<.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --without-opengl \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # 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/applications $fs/usr/share/ cp -a $install/usr/share/manaplus $fs/usr/share/ # 2.1.3.17 not created # cp -a $install/usr/share/pixmaps $fs/usr/share/ }