wok view libsdl-pango/receipt @ rev 15054
compiz-libcompizconfig-dev: fix genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 21:12:36 2013 +0000 (2013-08-12) |
parents | fa3e34687bfd |
children | ee5c8b018b62 |
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=$PWD/_pkg 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 }