wok view libsdl2/receipt @ rev 25144
updated plymouth (0.9.4 -> 0.9.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:52:59 2022 +0100 (2022-06-29) |
parents | 453c249b6219 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2"
4 VERSION="2.0.20"
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="https://libsdl.org/"
10 REPOLOGY="sdl2"
12 TARBALL="SDL2-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}release/${TARBALL}"
15 DEPENDS="alsa-lib dbus mesa"
16 BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/devel/d;/latest/d;/SDL2-/!d;/tar/!d;s|.*SDL2-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 cook_copy_files *.so*
40 }