
Receipt for package "libsdl2"
# SliTaz package receipt. PACKAGE="libsdl2" VERSION="2.0.20" CATEGORY="x-window" SHORT_DESC="A cross-platform interactive media development library." MAINTAINER="tcg.thegamer@gmail.com" LICENSE="zlib/libpng" WEB_SITE="https://libsdl.org/" REPOLOGY="sdl2" TARBALL="SDL2-$VERSION.tar.gz" WGET_URL="${WEB_SITE}release/${TARBALL}" DEPENDS="alsa-lib dbus" BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev" HOST_ARCH="i486 x86_64" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/devel/d;/latest/d;/SDL2-/!d;/tar/!d;s|.*SDL2-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin cook_copy_files *.so* }
6091 packages and 256114 files in current database (Thu Apr 3 00:00:04 2025)