wok-current view libsdl2/receipt @ rev 18407
openttd: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 19 16:17:19 2015 +0200 (2015-09-19) |
parents | f1f2a927aad5 |
children | f2f6f68fec96 |
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 }