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

make: use cleaner var order
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 01 08:12:04 2011 +0200 (2011-05-01)
parents
children d1768332cee0
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 DEPENDS="pango libsdl"
9 BUILD_DEPENDS="pango-dev libsdl-dev pkg-config"
10 SOURCE="SDL_Pango"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://sdlpango.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/sdlpango/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np0 -i ../stuff/SDL_Pango-$VERSION-API-adds.patch
20 patch -Np1 -i ../stuff/matrix_declarations.patch
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }