Receipt for package "lbreakout2"
# SliTaz package receipt. PACKAGE="lbreakout2" VERSION="2.6.5" CATEGORY="games" SHORT_DESC="Breakout clone." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://lgames.sourceforge.net/index.php?project=LBreakout2" TARBALL="$PACKAGE-$VERSION.tar.gz" #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" WGET_URL="$SF_MIRROR/project/lgames/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="libpng libsdl libsdl-mixer zlib" BUILD_DEPENDS="libpng-dev libsdl-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/lgames/files/lbreakout2/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;/tar/!d;s|.*/lbreakout2-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|/usr/doc|/usr/share/doc|' \ configure* ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --disable-sdltest \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && 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 rm -rf $fs/usr/share/doc cp -a stuff/* $fs }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)