wok-next view libsdl-gfx/receipt @ rev 20883

Check Repology info from h* to l* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 11 02:06:34 2018 +0300 (2018-07-11)
parents 5841522533ec
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl-gfx"
4 VERSION="2.0.26"
5 CATEGORY="x-window"
6 SHORT_DESC="SDL gfx support"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"
10 REPOLOGY="sdl-gfx"
12 TARBALL="SDL_gfx-$VERSION.tar.gz"
13 WGET_URL="http://www.ferzkopp.net/Software/SDL_gfx-2.0/$TARBALL"
15 BUILD_DEPENDS="automake libtool xorg-libX11-dev xorg-libICE-dev libsdl-dev"
16 SPLIT="libsdl-gfx-dev"
18 compile_rules() {
19 sed -i 's|/usr/local/|/usr/|' autogen.sh
20 ./autogen.sh &&
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libsdl-gfx)
31 copy @std
32 DEPENDS="libsdl"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libsdl-gfx libsdl-dev"
37 ;;
38 esac
39 }