wok-next view eduke32/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | c0521c689857 |
children | 5ed258d11ce7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="eduke32"
4 VERSION="20110319-1850"
5 CATEGORY="games"
6 SHORT_DESC="A port of the classic first-person shooter, Duke Nukem 3D"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="GPL2"
10 TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2"
11 WEB_SITE="http://www.eduke32.com/"
12 WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL"
13 TAGS="shooting"
15 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm \
16 mesa-dev glu-dev gcc49"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 case $ARCH in
22 x86_64) Arch='nocona';;
23 *) Arch="$ARCH";;
24 esac
26 make \
27 CC=gcc-49 \
28 CXX=g++-49 \
29 CFLAGS="-march=$Arch -Os -pipe" \
30 $MAKEFLAGS || return 1
32 install -Dm755 eduke32 $install/usr/bin/eduke32
33 install -Dm755 mapster32 $install/usr/bin/mapster32
34 }
36 genpkg_rules() {
37 copy @std
38 DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data"
39 }