wok-next annotate 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
rev   line source
al@21087 1 # SliTaz package receipt v2.
al@21087 2
al@21087 3 PACKAGE="sdl2"
al@21087 4 VERSION="2.0.9"
al@21087 5 CATEGORY="x-window"
al@21087 6 SHORT_DESC="Cross-platform interactive media development library"
al@21087 7 MAINTAINER="devel@slitaz.org"
al@21087 8 LICENSE="zlib/libpng"
al@21087 9 WEB_SITE="http://libsdl.org/"
al@21087 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/sdl2.html"
al@21087 11
al@21087 12 TARBALL="SDL2-$VERSION.tar.gz"
al@21087 13 WGET_URL="http://www.libsdl.org/release/$TARBALL"
al@21087 14 TARBALL_SHA1="4354c6baad9a48486182656a7506abfb63e9bff5"
al@21087 15
al@21094 16 COOKOPTS="force-arch" # different .h
al@21094 17
al@21087 18 BUILD_DEPENDS="alsa-lib-dev pulseaudio-dev libxcursor-dev libxinerama-dev \
al@21087 19 libxscrnsaver-dev libxxf86vm-dev mesa-dev wayland-dev wayland-protocols-dev \
al@21087 20 libxkbcommon-dev eudev-dev dbus-dev ibus-dev tslib-dev" # + fcitx-dev -> broken
al@21087 21 SPLIT="$PACKAGE-dev"
al@21087 22
al@21087 23 DEPENDS_std=" tslib"
al@21087 24 DEPENDS_std="$PACKAGE tslib-dev"
al@21087 25
al@21087 26 SUGGESTED_std="alsa-lib mesa dbus"
al@21087 27
al@21087 28 compile_rules() {
al@21087 29 ./configure \
al@21087 30 --disable-oss \
al@21087 31 $CONFIGURE_ARGS &&
al@21087 32 fix libtool &&
al@21087 33 make &&
al@21087 34 make install || return 1
al@21087 35
al@21087 36 rm $install/usr/lib/*.a # --disable-static doesn't work
al@21087 37 }
al@21087 38
al@21087 39 PROVIDE_std="libsdl2"
al@21087 40 PROVIDE_dev="libsdl2-dev"