wok-current view manaplus/receipt @ rev 21921
Add pcem (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 05 17:33:56 2019 +0200 (2019-10-05) |
parents | 9689f1b75619 |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="manaplus"
4 VERSION="1.9.3.23"
5 CATEGORY="games"
6 SHORT_DESC="Extended client for Evol Online and The Mana World."
7 MAINTAINER="admin@trixarian.net"
8 LICENSE="GPL2"
9 WEB_SITE="https://manaplus.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://download.evolonline.org/manaplus/download/$VERSION/$TARBALL"
14 DEPENDS="curl libpng libsdl-gfx libsdl-image libsdl-mixer libsdl-net \
15 libsdl-ttf libxml2 physfs ttf-dejavu zlib"
16 BUILD_DEPENDS="curl-dev enet libpng-dev libsdl-gfx-dev libsdl-image-dev \
17 libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev libxml2-dev \
18 physfs-dev zlib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --without-opengl \
26 $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/applications $fs/usr/share/
38 cp -a $install/usr/share/locale $fs/usr/share/
39 cp -a $install/usr/share/manaplus $fs/usr/share/
40 cp -a $install/usr/share/pixmaps $fs/usr/share/
41 }