wok-next view libsdl-pango/receipt @ rev 20748
Update (b)deps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 30 20:13:48 2018 +0300 (2018-05-30) |
parents | c4e53a39395a |
children | df20b2110f7e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl-pango"
4 VERSION="0.1.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Pango SDL binding"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://sdlpango.sourceforge.net/"
11 TARBALL="SDL_Pango-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/sdlpango/$TARBALL"
14 BUILD_DEPENDS="patch gfortran pango-dev libsdl-dev"
15 SPLIT="libsdl-pango-dev"
17 compile_rules() {
18 # Handle cross compilation
19 case "$ARCH" in
20 arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;;
21 esac
23 ./configure $CONFIGURE_ARGS &&
24 fix libtool &&
25 make $ARCH_MAKE &&
26 make DESTDIR=$DESTDIR install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libsdl-pango)
32 copy @std
33 DEPENDS="fontconfig freetype glib libsdl pango"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libsdl-pango bzip2-dev fontconfig-dev freetype-dev \
38 glib-dev harfbuzz-dev libffi-dev libpng16-dev libxml2-dev \
39 pango-dev pcre-dev xz-dev zlib-dev"
40 ;;
41 esac
42 }