wok-next view libsdl/receipt @ rev 20467
Up cookutils (1034), TiMidity++, alpine, caps, alsaequal
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 08 01:13:43 2018 +0200 (2018-03-08) |
parents | 0a667524ce79 |
children | c0521c689857 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl"
4 VERSION="1.2.15"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple DirectMedia Layer"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/sdl.html"
12 TARBALL="SDL-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/release/$TARBALL"
15 BUILD_DEPENDS="nasm alsa-lib-dev xorg-libX11-dev xorg-libXrandr-dev \
16 libglu-mesa-dev tslib-dev"
17 SPLIT="libsdl-dev"
19 compile_rules() {
20 sed -e '/_XData32/s:register long:register _Xconst long:' \
21 -i src/video/x11/SDL_x11sym.h &&
23 ./configure \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install || return 1
29 cook_pick_docs docs/html/*.html
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libsdl)
35 copy @std
36 DEPENDS="tslib"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="libsdl tslib-dev xorg-libX11-dev"
41 ;;
42 esac
43 }