wok diff libsdl-pango/receipt @ rev 9120

firefox-dev: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:36:09 2011 +0100 (2011-03-05)
parents
children d1768332cee0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libsdl-pango/receipt	Sat Mar 05 13:36:09 2011 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libsdl-pango"
     1.7 +VERSION="0.1.2"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Pango SDL binding."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="pango libsdl"
    1.12 +BUILD_DEPENDS="pango-dev libsdl-dev pkg-config"
    1.13 +SOURCE="SDL_Pango"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://sdlpango.sourceforge.net/"
    1.16 +WGET_URL="$SF_MIRROR/sdlpango/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	patch -Np0 -i ../stuff/SDL_Pango-$VERSION-API-adds.patch
    1.23 +	patch -Np1 -i ../stuff/matrix_declarations.patch
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make && make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib
    1.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 +}
    1.38 +