wok view manaplus/receipt @ rev 24559

updated fop (2.4 -> 2.7)
author Hans-G?nter Theisgen
date Fri Feb 25 15:52:00 2022 +0100 (2022-02-25)
parents 58b5793034e8
children f4e11d380d56
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/Latest version/!d;s|.*version: ||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --without-opengl \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/applications $fs/usr/share/
45 cp -a $install/usr/share/locale $fs/usr/share/
46 cp -a $install/usr/share/manaplus $fs/usr/share/
47 cp -a $install/usr/share/pixmaps $fs/usr/share/
48 }