wok view libsdl2/receipt @ rev 22774

Add serf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 25 17:25:42 2020 +0100 (2020-01-25)
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 }