wok-next view libsdl-pango/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 412cfae4a54c |
children | c4e53a39395a |
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="SDL_Pango-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/sdlpango/$TARBALL"
15 BUILD_DEPENDS="patch gfortran pango-dev libsdl-dev"
16 SPLIT="libsdl-pango-dev"
18 compile_rules() {
19 # Handle cross compilation
20 case "$ARCH" in
21 arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;;
22 esac
24 ./configure $CONFIGURE_ARGS &&
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 }