
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 mesa" BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev" # 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* }
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)