wok annotate libsdl2/receipt @ rev 24454
gnustep-back: added dependency icu
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 07:53:02 2022 +0100 (2022-02-16) |
parents | 34efa48682ba |
children | 163781b60a45 |
rev | line source |
---|---|
pascal@17104 | 1 # SliTaz package receipt. |
pascal@17104 | 2 |
pascal@17104 | 3 PACKAGE="libsdl2" |
Hans-G?nter@23099 | 4 VERSION="2.0.12" |
pascal@17104 | 5 CATEGORY="x-window" |
Hans-G?nter@21293 | 6 SHORT_DESC="A cross-platform interactive media development library." |
pascal@17104 | 7 MAINTAINER="tcg.thegamer@gmail.com" |
pascal@17345 | 8 LICENSE="zlib/libpng" |
Hans-G?nter@21293 | 9 WEB_SITE="http://libsdl.org" |
Hans-G?nter@21293 | 10 |
pascal@17104 | 11 TARBALL="SDL2-$VERSION.tar.gz" |
pascal@17104 | 12 WGET_URL="${WEB_SITE}/release/${TARBALL}" |
pascal@17104 | 13 |
Hans-G?nter@21293 | 14 DEPENDS="alsa-lib dbus mesa" |
Hans-G?nter@21293 | 15 BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev" |
pascal@17104 | 16 |
pascal@24425 | 17 # What is the latest version available today? |
pascal@24425 | 18 current_version() |
pascal@24425 | 19 { |
pascal@24425 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 21 sed "/devel/d;/latest/d;/SDL2-/!d;/tar/!d;s|.*SDL2-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 22 } |
pascal@24425 | 23 |
pascal@17104 | 24 # Rules to configure and make the package. |
pascal@17104 | 25 compile_rules() |
pascal@17104 | 26 { |
Hans-G?nter@21293 | 27 ./configure \ |
Hans-G?nter@21293 | 28 --prefix=/usr \ |
Hans-G?nter@21293 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@21293 | 30 make -j 1 && |
pascal@17104 | 31 make DESTDIR=$DESTDIR install |
pascal@17104 | 32 } |
pascal@17104 | 33 |
pascal@17104 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17104 | 35 genpkg_rules() |
pascal@17104 | 36 { |
pascal@17104 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@21293 | 38 |
Hans-G?nter@21293 | 39 cp -a $install/usr/lib/*so* $fs/usr/lib |
Hans-G?nter@21293 | 40 cp -a $install/usr/bin $fs/usr |
pascal@17104 | 41 } |