wok view manaplus/receipt @ rev 24888
grub2: avoid grub-mkimage error: decompressor is too big
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:25:58 2022 +0100 (2022-04-02) |
parents | 241fb98cab1c |
children | 120dd6158093 |
line source
1 # SliTaz package receipt.
3 PACKAGE="manaplus"
4 VERSION="2.1.3.17"
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 SUGGESTED="manaplus-lang"
15 DEPENDS="curl libpng libsdl-gfx libsdl-image libsdl-mixer libsdl-net
16 libsdl-ttf libxml2 physfs ttf-dejavu zlib"
17 BUILD_DEPENDS="curl-dev enet libpng-dev libsdl-gfx-dev libsdl-image-dev
18 libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev libxml2-dev
19 physfs-dev zlib-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $WEB_SITE 2>/dev/null | \
25 sed '/Latest version/!d;s|.*version: ||;s|<.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --without-opengl \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share/applications $fs/usr/share/
46 cp -a $install/usr/share/manaplus $fs/usr/share/
47 # 2.1.3.17 not created
48 # cp -a $install/usr/share/pixmaps $fs/usr/share/
49 }