wok-current view pcem/receipt @ rev 24360

ardour: give gcc83 a try
author Hans-G?nter Theisgen
date Fri Feb 04 07:19:07 2022 +0100 (2022-02-04)
parents a1b12ae1c852
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pcem"
4 VERSION="17"
5 CATEGORY="misc"
6 SHORT_DESC="An IBM PC emulator"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://pcem-emulator.co.uk/"
11 WGET_URL="${WEB_SITE}files/PCemV${VERSION}Linux.tar.gz"
12 TAGS="virtualization emulator"
13 SUGGESTED="get-pcem-roms"
15 DEPENDS="wxWidgets libsdl2 openal alsa-lib"
16 BUILD_DEPENDS="wxWidgets-dev libsdl2-dev openal-dev alsa-lib-dev"
18 current_version()
19 {
20 wget -O - $WEB_SITE/downloads.html 2>/dev/null | \
21 sed '/tar/!d;s|.*PCemV\(.*\)Linux.tar.*".*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
28 ./configure --prefix=/usr \
29 --enable-networking \
30 --enable-alsa \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs/
40 mkdir -p $install/usr/share/doc
41 cp $src/readme.html $install/usr/share/doc
42 cp $src/COPYING $install/usr/share/doc
43 }