wok-next view libsdl-gfx/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | d3eb5f4b53ea |
children | 5841522533ec |
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/"
11 TARBALL="SDL_gfx-$VERSION.tar.gz"
12 WGET_URL="http://www.ferzkopp.net/Software/SDL_gfx-2.0/$TARBALL"
14 BUILD_DEPENDS="automake libtool xorg-libX11-dev xorg-libICE-dev libsdl-dev"
15 SPLIT="libsdl-gfx-dev"
17 compile_rules() {
18 sed -i 's|/usr/local/|/usr/|' autogen.sh
19 ./autogen.sh &&
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libsdl-gfx)
27 copy @std
28 DEPENDS="libsdl"
29 ;;
30 *-dev)
31 copy @dev
32 DEPENDS="libsdl-gfx libsdl-dev"
33 ;;
34 esac
35 }