wok-6.x view pcem/receipt @ rev 24017
tuxpaint: no parallel make
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 27 15:07:25 2021 +0100 (2021-02-27) |
parents | 6542c854008f |
children | 01737061adb0 |
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"
14 DEPENDS="wxWidgets libsdl2 openal alsa-lib"
15 BUILD_DEPENDS="wxWidgets-dev libsdl2-dev openal-dev alsa-lib-dev"
17 current_version()
18 {
19 wget -O - $WEB_SITE/downloads.html 2>/dev/null | \
20 sed '/tar/!d;s|.*PCemV\(.*\)Linux.tar.*".*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
27 ./configure --prefix=/usr \
28 --enable-networking \
29 --enable-alsa \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs/
39 mkdir -p $install/usr/share/doc
40 cp $src/readme.html $install/usr/share/doc
41 cp $src/COPYING $install/usr/share/doc
42 }