wok-next view libsdl2/receipt @ rev 18702

Up ola(0.9.8) (thanks Thomas a.k.a. kult-ex)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Dec 16 12:43:42 2015 +0200 (2015-12-16)
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 }