wok view libsdl-pango/receipt @ rev 9700
Replaced all ../stuff with $stuff.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 08 09:01:58 2011 +0000 (2011-05-08) |
parents | 21199ecea5be |
children | 6eff489aa802 |
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 }