wok-current view libsdl-pango/receipt @ rev 17881

Up to latest: tazinst, tazpanel, tazpkg.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 30 23:42:37 2015 +0300 (2015-03-30)
parents ee5c8b018b62
children 65d7d867e0c1
line source
1 # SliTaz package receipt.
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 SOURCE="SDL_Pango"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://sdlpango.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/sdlpango/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="pango libsdl"
16 BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch
27 patch -Np1 -i $stuff/matrix_declarations.patch
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make ${ARCH_MAKE} && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }