# SliTaz package receipt. PACKAGE="gweled" VERSION="0.9.1" CATEGORY="games" SHORT_DESC="Gweled game." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://launchpad.net/$PACKAGE" WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL" DEPENDS="gtk+ librsvg libmikmod" BUILD_DEPENDS="wget intltool gtk+-dev librsvg-dev libmikmod-dev" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr \ --localstatedir=/var \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }