wok-current annotate libsdl-image/receipt @ rev 19724

xlockmore: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 16 15:08:07 2017 +0100 (2017-02-16)
parents 6eff489aa802
children 087c88e4ce10
rev   line source
pascal@1136 1 # SliTaz package receipt.
pascal@1136 2
pascal@1136 3 PACKAGE="libsdl-image"
pascal@1136 4 SOURCE="SDL_image"
slaxemulator@6197 5 VERSION="1.2.10"
pascal@1136 6 CATEGORY="development"
pascal@1136 7 SHORT_DESC="An image file loading library."
pascal@1136 8 MAINTAINER="chadi.elahmad@gmail.com"
pascal@14718 9 LICENSE="LGPL2.1"
pascal@1136 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1136 11 WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
pascal@1136 12 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
pankso@16237 13 HOST_ARCH="i486 arm"
pankso@9890 14
slaxemulator@6271 15 DEPENDS="libsdl libpng jpeg zlib tiff"
pankso@9891 16 BUILD_DEPENDS="libsdl-dev libpng-dev jpeg-dev zlib-dev tiff-dev"
pascal@1136 17
pascal@1136 18 # Rules to configure and make the package.
pascal@1136 19 compile_rules()
pascal@1136 20 {
gokhlayeh@11573 21 ./configure $CONFIGURE_ARGS \
pankso@9890 22 LIBS=" -lz " &&
pankso@9890 23 make && make install
pascal@1136 24 }
pascal@1136 25
pascal@1136 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1136 27 genpkg_rules()
pascal@1136 28 {
pascal@1136 29 mkdir -p $fs/usr/lib
pascal@14718 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@1136 31 }