wok-next view libsdl-pango/receipt @ rev 16043
Up: .hgignore
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 09 16:31:42 2014 +0100 (2014-03-09) |
parents | 76b72f1ad63c |
children | 412cfae4a54c |
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"
14 DEPENDS="pango libsdl"
15 BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch
22 patch -Np1 -i $stuff/matrix_declarations.patch
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }