wok-next view libsdl2/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c0521c689857 |
children | df20b2110f7e |
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"
12 TARBALL="SDL2-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/release/$TARBALL"
15 BUILD_DEPENDS="alsa-lib-dev doxygen pulseaudio-dev xorg-libXcursor-dev \
16 xorg-libXinerama-dev xorg-libXScrnSaver-dev xorg-libXxf86vm-dev mesa-dev \
17 wayland-dev wayland-protocols-dev libxkbcommon-dev eudev-dev dbus-dev ibus-dev \
18 tslib-dev graphviz" # + fcitx-dev -> broken
19 SPLIT="libsdl2-dev"
21 compile_rules() {
22 ./configure \
23 --disable-oss \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 cd docs && doxygen && cd - &&
28 make install || return 1
30 rm $install/usr/lib/libSDL2*.a
31 cook_pick_docs \
32 docs/output/html/*.html \
33 docs/output/html/*.css \
34 docs/output/html/*.js \
35 docs/output/html/*.png
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 libsdl2)
41 copy @std
42 DEPENDS="tslib"
43 SUGGESTED="alsa-lib mesa dbus"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="libsdl2 tslib-dev"
48 ;;
49 esac
50 }