wok-next view libsdl2/receipt @ rev 20883
Check Repology info from h* to l* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 11 02:06:34 2018 +0300 (2018-07-11) |
parents | 5841522533ec |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl2"
4 VERSION="2.0.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform interactive media development library"
7 MAINTAINER="tcg.thegamer@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://libsdl.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/sdl2.html"
11 REPOLOGY="sdl2"
13 TARBALL="SDL2-$VERSION.tar.gz"
14 WGET_URL="http://www.libsdl.org/release/$TARBALL"
16 BUILD_DEPENDS="alsa-lib-dev doxygen pulseaudio-dev xorg-libXcursor-dev \
17 xorg-libXinerama-dev xorg-libXScrnSaver-dev xorg-libXxf86vm-dev mesa-dev \
18 wayland-dev wayland-protocols-dev libxkbcommon-dev eudev-dev dbus-dev ibus-dev \
19 tslib-dev graphviz" # + fcitx-dev -> broken
20 SPLIT="libsdl2-dev"
22 compile_rules() {
23 ./configure \
24 --disable-oss \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 cd docs && doxygen && cd - &&
29 make install || return 1
31 rm $install/usr/lib/libSDL2*.a
32 cook_pick_docs \
33 docs/output/html/*.html \
34 docs/output/html/*.css \
35 docs/output/html/*.js \
36 docs/output/html/*.png
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 libsdl2)
42 copy @std
43 DEPENDS="tslib"
44 SUGGESTED="alsa-lib mesa dbus"
45 ;;
46 *-dev)
47 copy @dev
48 DEPENDS="libsdl2 tslib-dev"
49 ;;
50 esac
51 }