wok-next view libsdl-gfx/receipt @ rev 21036
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 06 14:32:27 2018 +0200 (2018-11-06) |
parents | df20b2110f7e |
children | 5669e8b3be70 |
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="devel@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="$PACKAGE-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 }