wok view libsdl2/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
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 }