wok diff pcem/receipt @ rev 21920
Add pcem
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 05 16:15:48 2019 +0200 (2019-10-05) |
parents | |
children | b367a52d4872 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pcem/receipt Sat Oct 05 16:15:48 2019 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pcem" 1.7 +VERSION="15" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="An IBM PC emulator" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://pcem-emulator.co.uk/" 1.14 +WGET_URL="${WEB_SITE}files/PCemV${VERSION}Linux.tar.gz" 1.15 +TAGS="virtualization emulator" 1.16 + 1.17 +DEPENDS="wxWidgets libsdl2 openal alsa-lib" 1.18 +BUILD_DEPENDS="wxWidgets-dev libsdl2-dev openal-dev alsa-lib-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 1.24 + ./configure --prefix=/usr \ 1.25 + --enable-networking \ 1.26 + --enable-alsa \ 1.27 + $CONFIGURE_ARGS && 1.28 + make && 1.29 + make DESTDIR=$DESTDIR install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + cp -a $install/* $fs/ 1.36 +}