wok-6.x rev 17134
Add libsdl2-image and devel.
author | necrophcodr <tcg.thegamer@gmail.com> |
---|---|
date | Wed Sep 10 10:52:10 2014 +0200 (2014-09-10) |
parents | e2bf947347eb |
children | 5a199adea305 |
files | libsdl2-image-dev/receipt libsdl2-image/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libsdl2-image-dev/receipt Wed Sep 10 10:52:10 2014 +0200 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libsdl2-image-dev" 1.7 +VERSION="2.0.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Development files of an image file loading library." 1.10 +MAINTAINER="tcg.thegamer@gmail.com" 1.11 +LICENSE="LGPL2.1" 1.12 +WEB_SITE="http://www.libsdl.org/projects/SDL_image/" 1.13 +WANTED="libsdl2-image" 1.14 +SOURCE="SDL2_image" 1.15 +HOST_ARCH="i486 arm" 1.16 + 1.17 +DEPENDS="libsdl2-image libsdl2-dev libpng-dev jpeg-dev zlib-dev pkg-config" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + mkdir -p $fs/usr/lib 1.23 + cp -a $install/usr/lib/*.a $fs/usr/lib 1.24 + cp -a $install/usr/include $fs/usr 1.25 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.26 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libsdl2-image/receipt Wed Sep 10 10:52:10 2014 +0200 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libsdl2-image" 2.7 +SOURCE="SDL2_image" 2.8 +VERSION="2.0.0" 2.9 +CATEGORY="development" 2.10 +SHORT_DESC="An image file loading library." 2.11 +MAINTAINER="tcg.thegamer@gmail.com" 2.12 +LICENSE="LGPL2.1" 2.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.libsdl.org/projects/SDL_image/" 2.15 +WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" 2.16 +HOST_ARCH="i486 arm" 2.17 + 2.18 +DEPENDS="libsdl2 libpng jpeg zlib tiff" 2.19 +BUILD_DEPENDS="libsdl2-dev libpng-dev jpeg-dev zlib-dev tiff-dev" 2.20 + 2.21 +# Rules to configure and make the package. 2.22 +compile_rules() 2.23 +{ 2.24 + ./configure $CONFIGURE_ARGS \ 2.25 + LIBS=" -lz " && 2.26 + make && make install 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr/lib 2.33 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.34 +}