wok annotate libsdl2-image/receipt @ rev 19670
syslinux/iso2exe.sh: no recursive partition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 02 13:21:13 2017 +0100 (2017-02-02) |
parents | |
children | 4edee500eec9 |
rev | line source |
---|---|
tcg@17134 | 1 # SliTaz package receipt. |
tcg@17134 | 2 |
tcg@17134 | 3 PACKAGE="libsdl2-image" |
tcg@17134 | 4 SOURCE="SDL2_image" |
tcg@17134 | 5 VERSION="2.0.0" |
tcg@17134 | 6 CATEGORY="development" |
tcg@17134 | 7 SHORT_DESC="An image file loading library." |
tcg@17134 | 8 MAINTAINER="tcg.thegamer@gmail.com" |
tcg@17134 | 9 LICENSE="LGPL2.1" |
tcg@17134 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
tcg@17134 | 11 WEB_SITE="http://www.libsdl.org/projects/SDL_image/" |
tcg@17134 | 12 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" |
tcg@17134 | 13 HOST_ARCH="i486 arm" |
tcg@17134 | 14 |
tcg@17134 | 15 DEPENDS="libsdl2 libpng jpeg zlib tiff" |
tcg@17134 | 16 BUILD_DEPENDS="libsdl2-dev libpng-dev jpeg-dev zlib-dev tiff-dev" |
tcg@17134 | 17 |
tcg@17134 | 18 # Rules to configure and make the package. |
tcg@17134 | 19 compile_rules() |
tcg@17134 | 20 { |
tcg@17134 | 21 ./configure $CONFIGURE_ARGS \ |
tcg@17134 | 22 LIBS=" -lz " && |
tcg@17134 | 23 make && make install |
tcg@17134 | 24 } |
tcg@17134 | 25 |
tcg@17134 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
tcg@17134 | 27 genpkg_rules() |
tcg@17134 | 28 { |
tcg@17134 | 29 mkdir -p $fs/usr/lib |
tcg@17134 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
tcg@17134 | 31 } |