wok-next view sdl2/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 0f2575775b2d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sdl2"
4 VERSION="2.0.9"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform interactive media development library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://libsdl.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/sdl2.html"
12 TARBALL="SDL2-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/release/$TARBALL"
14 TARBALL_SHA1="4354c6baad9a48486182656a7506abfb63e9bff5"
16 COOKOPTS="force-arch" # different .h
18 BUILD_DEPENDS="alsa-lib-dev pulseaudio-dev libxcursor-dev libxinerama-dev \
19 libxscrnsaver-dev libxxf86vm-dev mesa-dev wayland-dev wayland-protocols-dev \
20 libxkbcommon-dev eudev-dev dbus-dev ibus-dev tslib-dev" # + fcitx-dev -> broken
21 SPLIT="$PACKAGE-dev"
23 DEPENDS_std=" tslib"
24 DEPENDS_std="$PACKAGE tslib-dev"
26 SUGGESTED_std="alsa-lib mesa dbus"
28 compile_rules() {
29 ./configure \
30 --disable-oss \
31 $CONFIGURE_ARGS &&
32 fix libtool &&
33 make &&
34 make install || return 1
36 rm $install/usr/lib/*.a # --disable-static doesn't work
37 }
39 PROVIDE_std="libsdl2"
40 PROVIDE_dev="libsdl2-dev"