wok view libsdl2/receipt @ rev 21293

updated libsdl2 and libsdl2-dev (2.0.3 -> 2.0.9)
author Hans-G?nter Theisgen
date Tue Apr 16 17:58:43 2019 +0100 (2019-04-16)
parents 5b063a7e40ae
children 34efa48682ba
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2"
4 VERSION="2.0.9"
5 CATEGORY="x-window"
6 SHORT_DESC="A cross-platform interactive media development library."
7 MAINTAINER="tcg.thegamer@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://libsdl.org"
11 TARBALL="SDL2-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}/release/${TARBALL}"
14 DEPENDS="alsa-lib dbus mesa"
15 BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*so* $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 }