wok-current view libsdl2/receipt @ rev 17108
qps: s/-O2/-Os/g
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Sep 01 17:36:26 2014 +0200 (2014-09-01) |
parents | |
children | 5b063a7e40ae |
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"
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 }