wok-next view assaultcube/receipt @ rev 20502
Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 00:27:34 2018 +0200 (2018-03-16) |
parents | 14cdf41afa35 |
children | 8b5b2a6d07b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="assaultcube"
4 VERSION="1.1.0.4"
5 CATEGORY="games"
6 SHORT_DESC="A realistic team oriented multiplayer FPS based on the cube engine."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="zlib/libpng"
9 SOURCE="AssaultCube"
10 TARBALL="${SOURCE}_v${VERSION}_source.tar.bz2"
11 SOURCE="AssaultCube-Source"
12 WEB_SITE="http://assault.cubers.net/"
13 WGET_URL="$SF_MIRROR/actiongame/$TARBALL"
15 DEPENDS="openal libsdl-image libsdl-mixer mesa glu assaultcube-data"
16 BUILD_DEPENDS="openal-dev libsdl-image-dev libsdl-mixer-dev mesa-dev \
17 glu-dev zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src/source/src
23 sed -i 's/lvorbisfile/& -lX11/' Makefile
24 make
25 mkdir -p $DESTDIR/usr/bin
26 cp -a ac_client $DESTDIR/usr/bin
27 cp -a ac_server $DESTDIR/usr/bin
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $install/usr/bin/ac_client $fs/usr/bin
36 cp -a $install/usr/bin/ac_server $fs/usr/bin
37 cp -a $stuff/assaultcube $fs/usr/bin
38 cp -a $stuff/assaultcube-server $fs/usr/bin
39 chmod +x $fs/usr/bin/assaultcube
40 chmod +x $fs/usr/bin/assaultcube-server
41 }