wok view libsdl2/receipt @ rev 24255

updated perl-test-fatal (0.014 -> 0.016)
author Hans-G?nter Theisgen
date Sun Jan 02 09:59:54 2022 +0100 (2022-01-02)
parents f2f6f68fec96
children 453c249b6219
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2"
4 VERSION="2.0.12"
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 }