wok-6.x view pcem/receipt @ rev 24000

linux-zram: more than 8GB RAM fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 13 21:31:22 2021 +0000 (2021-01-13)
parents b367a52d4872
children a1b12ae1c852
line source
1 # SliTaz package receipt.
3 PACKAGE="pcem"
4 VERSION="15"
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 ./configure --prefix=/usr \
22 --enable-networking \
23 --enable-alsa \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs/
33 mkdir -p $install/usr/share/doc
34 cp $src/readme.txt $install/usr/share/doc
35 cp $src/COPYING $install/usr/share/doc
36 }