# HG changeset patch # User Pascal Bellard # Date 1444321750 -7200 # Node ID d8e92fa2a4b1cb3e9722df095ad0ad00e112ae76 # Parent 6492649051cfc704b91ec197a47107bd61c94ac2 Add pce diff -r 6492649051cf -r d8e92fa2a4b1 pce/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pce/receipt Thu Oct 08 18:29:10 2015 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="pce" +VERSION="20140222-4b05f0c" +CATEGORY="misc" +SHORT_DESC="A collection of microcomputer emulators." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.hampa.ch/pce/about.html" +WGET_URL="http://www.hampa.ch/pub/pce/pre/$TARBALL" +TAGS="emulator atari macplus" + +DEPENDS="readline ncurses libsdl xorg-libX11 libxcb xorg-libXau xorg-libXdmcp" +BUILD_DEPENDS="readline-dev ncurses-dev libsdl-dev xorg-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --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/ +}