wok-next view libsdl2/receipt @ rev 19464

reverting: building this 5-year diff gap didn't work out, user request: http://forum.slitaz.org/topic/gnumeric-110-buggy-how-can-i-get-112
author Erkan Yilmaz <erkan@slitaz.org>
date Mon Oct 24 11:39:42 2016 +0000 (2016-10-24)
parents f1f2a927aad5
children f28a3772c252
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2"
4 VERSION="2.0.3"
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 TARBALL="SDL2-$VERSION.tar.gz"
10 WEB_SITE="http://libsdl.org"
11 WGET_URL="${WEB_SITE}/release/${TARBALL}"
13 DEPENDS="alsa-lib mesa dbus"
14 BUILD_DEPENDS="alsa-lib-dev mesa-dev mesa-wayland-dev pulseaudio-dev dbus-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*so* $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 }