wok-current view libsdl-image/receipt @ rev 22822
Add emu8051
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 06 12:27:36 2020 +0100 (2020-02-06) |
parents | 4cd474907d60 |
children | ede1d184d5c5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-image"
4 SOURCE="SDL_image"
5 VERSION="1.2.12"
6 CATEGORY="development"
7 SHORT_DESC="An image file loading library."
8 MAINTAINER="chadi.elahmad@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
15 DEPENDS="jpeg libpng libsdl tiff zlib"
16 BUILD_DEPENDS="jpeg-dev libpng-dev libsdl-dev tiff-dev zlib-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 LIBS=" -lz " \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }