wok-next view libsdl-pango/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 595097cb4e40 |
children | 5841522533ec |
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 make $ARCH_MAKE &&
25 make DESTDIR=$DESTDIR install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libsdl-pango)
31 copy @std
32 DEPENDS="fontconfig freetype glib libsdl pango"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libsdl-pango bzip2-dev fontconfig-dev freetype-dev \
37 glib-dev harfbuzz-dev libffi-dev libpng16-dev libxml2-dev \
38 pango-dev pcre-dev xz-dev zlib-dev"
39 ;;
40 esac
41 }