# HG changeset patch # User Hans-G?nter Theisgen # Date 1648050556 -3600 # Node ID c3b5dafdd798aefbd432d62708561c2ec16427e2 # Parent 163781b60a45413c00ca8c47731743c2f1d8da9e updated libsdl2-image and libsdl2-image-dev (2.0.4 -> 2.0.5) diff -r 163781b60a45 -r c3b5dafdd798 libsdl2-image-dev/receipt --- a/libsdl2-image-dev/receipt Wed Mar 23 16:41:04 2022 +0100 +++ b/libsdl2-image-dev/receipt Wed Mar 23 16:49:16 2022 +0100 @@ -3,23 +3,18 @@ PACKAGE="libsdl2-image-dev" VERSION="2.0.5" CATEGORY="development" -SHORT_DESC="Development files of an image file loading library." +SHORT_DESC="An image file loading library - development files." MAINTAINER="tcg.thegamer@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://www.libsdl.org/projects/SDL_image/" +LICENSE="Zlib" +WEB_SITE="https://www.libsdl.org/projects/SDL_image/" -SOURCE="SDL2_image" +DEPENDS="jpeg-dev libpng-dev libsdl2-dev libsdl2-image pkg-config zlib-dev" WANTED="libsdl2-image" -DEPENDS="jpeg-dev libpng-dev libsdl2-dev libsdl2-image pkg-config zlib-dev" HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + get_dev_files } diff -r 163781b60a45 -r c3b5dafdd798 libsdl2-image/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl2-image/description.txt Wed Mar 23 16:49:16 2022 +0100 @@ -0,0 +1,3 @@ +SDL_image is an image file loading library. +It loads images as SDL surfaces and textures, and supports the following formats: +BMP, GIF, JPEG, LBM, PCX, PNG, PNM, SVG, TGA, TIFF, WEBP, XCF, XPM, XV diff -r 163781b60a45 -r c3b5dafdd798 libsdl2-image/receipt --- a/libsdl2-image/receipt Wed Mar 23 16:41:04 2022 +0100 +++ b/libsdl2-image/receipt Wed Mar 23 16:49:16 2022 +0100 @@ -5,12 +5,13 @@ CATEGORY="development" SHORT_DESC="An image file loading library." MAINTAINER="tcg.thegamer@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://www.libsdl.org/projects/SDL_image/" +LICENSE="Zlib" +WEB_SITE="https://www.libsdl.org/projects/SDL_image/" +REPOLOGY="sdl2-image" SOURCE="SDL2_image" TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" +WGET_URL="${WEB_SITE}release/$TARBALL" DEPENDS="jpeg libpng libsdl2 tiff zlib" BUILD_DEPENDS="jpeg-dev libpng-dev libsdl2-dev tiff-dev zlib-dev" @@ -27,15 +28,15 @@ # Rules to configure and make the package. compile_rules() { - ./configure $CONFIGURE_ARGS \ - LIBS=" -lz " && - make -j 1 && + ./configure \ + LIBS=" -lz " \ + $CONFIGURE_ARGS && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* }