wok-current view libsdl2/receipt @ rev 24496

updated dosfstools (4.1 -> 4.2)
author Hans-G?nter Theisgen
date Sat Feb 19 14:05:47 2022 +0100 (2022-02-19)
parents 34efa48682ba
children 163781b60a45
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/devel/d;/latest/d;/SDL2-/!d;/tar/!d;s|.*SDL2-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*so* $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 }