wok view pcem/receipt @ rev 22333

Up mplayer (1.4)
author Richard Dunbar <mojo@slitaz.org>
date Fri Nov 15 08:58:24 2019 -0500 (2019-11-15)
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 }