wok diff libsdl2-image/receipt @ rev 19304
syslinux: no binaries in CONFIG_FILES
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 10 11:46:12 2016 +0200 (2016-07-10) |
parents | |
children | 4edee500eec9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libsdl2-image/receipt Sun Jul 10 11:46:12 2016 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libsdl2-image" 1.7 +SOURCE="SDL2_image" 1.8 +VERSION="2.0.0" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="An image file loading library." 1.11 +MAINTAINER="tcg.thegamer@gmail.com" 1.12 +LICENSE="LGPL2.1" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.libsdl.org/projects/SDL_image/" 1.15 +WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" 1.16 +HOST_ARCH="i486 arm" 1.17 + 1.18 +DEPENDS="libsdl2 libpng jpeg zlib tiff" 1.19 +BUILD_DEPENDS="libsdl2-dev libpng-dev jpeg-dev zlib-dev tiff-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + ./configure $CONFIGURE_ARGS \ 1.25 + LIBS=" -lz " && 1.26 + make && make install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/lib 1.33 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.34 +}