wok-next view libsdl2-image/receipt @ rev 17479
Up libssl (1.0.1j)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Dec 29 16:23:33 2014 -0500 (2014-12-29) |
parents | |
children | f28a3772c252 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2-image"
4 SOURCE="SDL2_image"
5 VERSION="2.0.0"
6 CATEGORY="development"
7 SHORT_DESC="An image file loading library."
8 MAINTAINER="tcg.thegamer@gmail.com"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
12 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libsdl2 libpng jpeg zlib tiff"
16 BUILD_DEPENDS="libsdl2-dev libpng-dev jpeg-dev zlib-dev tiff-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS \
22 LIBS=" -lz " &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }