wok-next view libsdl-pango/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
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 }