wok annotate libsdl2/receipt @ rev 20792

updated clex (4.6.patch8 -> 4.6.patch9)
author Hans-G?nter Theisgen
date Thu Feb 14 17:35:20 2019 +0100 (2019-02-14)
parents f1f2a927aad5
children f2f6f68fec96
rev   line source
pascal@17104 1 # SliTaz package receipt.
pascal@17104 2
pascal@17104 3 PACKAGE="libsdl2"
pascal@17104 4 VERSION="2.0.3"
pascal@17104 5 CATEGORY="x-window"
pascal@17104 6 SHORT_DESC="a cross-platform interactive media development library"
pascal@17104 7 MAINTAINER="tcg.thegamer@gmail.com"
pascal@17345 8 LICENSE="zlib/libpng"
pascal@17104 9 TARBALL="SDL2-$VERSION.tar.gz"
pascal@17104 10 WEB_SITE="http://libsdl.org"
pascal@17104 11 WGET_URL="${WEB_SITE}/release/${TARBALL}"
pascal@17104 12
pascal@17104 13 DEPENDS="alsa-lib mesa dbus"
pascal@17104 14 BUILD_DEPENDS="alsa-lib-dev mesa-dev mesa-wayland-dev pulseaudio-dev dbus-dev"
pascal@17104 15
pascal@17104 16 # Rules to configure and make the package.
pascal@17104 17 compile_rules()
pascal@17104 18 {
pascal@17104 19 cd $src
pascal@17104 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@17104 21 make &&
pascal@17104 22 make DESTDIR=$DESTDIR install
pascal@17104 23 }
pascal@17104 24
pascal@17104 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17104 26 genpkg_rules()
pascal@17104 27 {
pascal@17104 28 mkdir -p $fs/usr/lib
pascal@17104 29 cp -a $install/usr/lib/*so* $fs/usr/lib
pascal@17104 30 cp -a $install/usr/bin $fs/usr
pascal@17104 31 }