wok-6.x rev 17104
Add libsdl2 (thanks necrophcodr)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 30 14:16:28 2014 +0000 (2014-08-30) |
parents | b88970a6fdd3 |
children | e86fa9b12f05 |
files | libsdl2-dev/receipt libsdl2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libsdl2-dev/receipt Sat Aug 30 14:16:28 2014 +0000 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libsdl2-dev" 1.7 +VERSION="2.0.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="a cross-platform interactive media development library - dev files" 1.10 +MAINTAINER="tcg.thegamer@gmail.com" 1.11 +LICENSE="zlib" 1.12 +TARBALL="SDL2-$VERSION.tar.gz" 1.13 +WEB_SITE="http://libsdl.org" 1.14 +WGET_URL="${WEB_SITE}/release/${TARBALL}" 1.15 + 1.16 +WANTED="libsdl2" 1.17 + 1.18 +DEPENDS="libsdl2" 1.19 + 1.20 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.21 +genpkg_rules() 1.22 +{ 1.23 + mkdir -p $fs/usr/lib 1.24 + cp -a $install/usr/share $fs/usr 1.25 + cp -a $install/usr/include $fs/usr 1.26 + cp -a $install/usr/lib/*a $fs/usr/lib 1.27 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.28 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libsdl2/receipt Sat Aug 30 14:16:28 2014 +0000 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libsdl2" 2.7 +VERSION="2.0.3" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="a cross-platform interactive media development library" 2.10 +MAINTAINER="tcg.thegamer@gmail.com" 2.11 +LICENSE="zlib" 2.12 +TARBALL="SDL2-$VERSION.tar.gz" 2.13 +WEB_SITE="http://libsdl.org" 2.14 +WGET_URL="${WEB_SITE}/release/${TARBALL}" 2.15 + 2.16 +DEPENDS="alsa-lib mesa dbus" 2.17 +BUILD_DEPENDS="alsa-lib-dev mesa-dev mesa-wayland-dev pulseaudio-dev dbus-dev" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + ./configure --prefix=/usr $CONFIGURE_ARGS && 2.24 + make && 2.25 + make DESTDIR=$DESTDIR install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib 2.32 + cp -a $install/usr/lib/*so* $fs/usr/lib 2.33 + cp -a $install/usr/bin $fs/usr 2.34 +}