wok view libsdl-image/receipt @ rev 21875
gc: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 16:04:52 2019 +0200 (2019-09-28) |
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 }