wok-next annotate libsdl-pango/receipt @ rev 14720
libsdl-pango: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 13:34:28 2013 +0200 (2013-06-11) |
parents | 6eff489aa802 |
children | 76b72f1ad63c |
rev | line source |
---|---|
slaxemulator@7409 | 1 # SliTaz package receipt. |
slaxemulator@7409 | 2 |
slaxemulator@7409 | 3 PACKAGE="libsdl-pango" |
slaxemulator@7409 | 4 VERSION="0.1.2" |
slaxemulator@7409 | 5 CATEGORY="x-window" |
slaxemulator@7409 | 6 SHORT_DESC="Pango SDL binding." |
slaxemulator@7409 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7409 | 8 SOURCE="SDL_Pango" |
slaxemulator@7409 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7409 | 10 WEB_SITE="http://sdlpango.sourceforge.net/" |
slaxemulator@7409 | 11 WGET_URL="$SF_MIRROR/sdlpango/$TARBALL" |
slaxemulator@7409 | 12 |
pascal@14718 | 13 DEPENDS="pango libsdl" |
pascal@14720 | 14 BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev" |
pascal@14718 | 15 |
slaxemulator@7409 | 16 # Rules to configure and make the package. |
slaxemulator@7409 | 17 compile_rules() |
slaxemulator@7409 | 18 { |
slaxemulator@7409 | 19 cd $src |
slaxemulator@9700 | 20 patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch |
slaxemulator@9700 | 21 patch -Np1 -i $stuff/matrix_declarations.patch |
slaxemulator@7409 | 22 ./configure \ |
slaxemulator@7409 | 23 --prefix=/usr \ |
slaxemulator@7409 | 24 --infodir=/usr/share/info \ |
slaxemulator@7409 | 25 --mandir=/usr/share/man \ |
slaxemulator@7409 | 26 $CONFIGURE_ARGS && |
slaxemulator@7409 | 27 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7409 | 28 } |
slaxemulator@7409 | 29 |
slaxemulator@7409 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7409 | 31 genpkg_rules() |
slaxemulator@7409 | 32 { |
slaxemulator@7409 | 33 mkdir -p $fs/usr/lib |
pascal@14718 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7409 | 35 } |
slaxemulator@7409 | 36 |