wok-next view libsdl-gfx/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 595097cb4e40 |
children | df20b2110f7e |
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 &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libsdl-gfx)
30 copy @std
31 DEPENDS="libsdl"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libsdl-gfx libsdl-dev"
36 ;;
37 esac
38 }