# SliTaz package receipt. PACKAGE="stella" VERSION="3.5" CATEGORY="games" SHORT_DESC="A multi-platform Atari 2600 VCS emulator." MAINTAINER="slaxemulator@gmail.com" DEPENDS="gcc-lib-base libsdl libpng" BUILD_DEPENDS="libsdl-dev libpng-dev zlib-dev" TARBALL="$PACKAGE-$VERSION-src.tar.gz" WEB_SITE="http://stella.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps sed -i 's|Icon=stella.png|Icon=stella|' $_pkg/usr/share/applications/stella.desktop }