wok annotate libsdl2/receipt @ rev 23304
updated perl-convert-asn1 (0.22 -> 0.27)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 29 17:14:16 2020 +0100 (2020-03-29) |
parents | f2f6f68fec96 |
children | 453c249b6219 |
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@17104 | 17 # Rules to configure and make the package. |
pascal@17104 | 18 compile_rules() |
pascal@17104 | 19 { |
Hans-G?nter@21293 | 20 ./configure \ |
Hans-G?nter@21293 | 21 --prefix=/usr \ |
Hans-G?nter@21293 | 22 $CONFIGURE_ARGS && |
Hans-G?nter@21293 | 23 make -j 1 && |
pascal@17104 | 24 make DESTDIR=$DESTDIR install |
pascal@17104 | 25 } |
pascal@17104 | 26 |
pascal@17104 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17104 | 28 genpkg_rules() |
pascal@17104 | 29 { |
pascal@17104 | 30 mkdir -p $fs/usr/lib |
Hans-G?nter@21293 | 31 |
Hans-G?nter@21293 | 32 cp -a $install/usr/lib/*so* $fs/usr/lib |
Hans-G?nter@21293 | 33 cp -a $install/usr/bin $fs/usr |
pascal@17104 | 34 } |