wok-next annotate pango/receipt @ rev 15363

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 03 09:52:57 2013 +0000 (2013-10-03)
parents d8228805d4f0
children bc08dfb0b2f6
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="pango"
slaxemulator@13172 4 VERSION="1.30.1"
pankso@22 5 CATEGORY="x-window"
pankso@22 6 SHORT_DESC="Library for layout and rendering of text."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
slaxemulator@13172 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@22 10 WEB_SITE="http://www.pango.org/"
slaxemulator@11055 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
slaxemulator@11055 12 CONFIG_FILES="/etc/pango/pango.modules"
slaxemulator@11055 13
pascal@11231 14 DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util \
pascal@13148 15 bzlib slitaz-base-files gcc-lib-base"
pascal@11231 16 BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev \
pascal@11231 17 xorg-libXft-dev libgio-dev gobject-introspection-dev pkg-config"
pankso@22 18
pankso@22 19 # Rules to configure and make the package.
pankso@22 20 compile_rules()
pankso@22 21 {
pankso@22 22 cd $src
pankso@547 23 ./configure \
pankso@547 24 --prefix=/usr \
pankso@547 25 --sysconfdir=/etc \
pankso@547 26 --mandir=/usr/share/man \
pankso@547 27 --with-html-dir=/usr/share/doc \
pascal@1634 28 $CONFIGURE_ARGS &&
pascal@1634 29 make &&
slaxemulator@11055 30 make DESTDIR=$DESTDIR install
pankso@22 31 }
pankso@22 32
pankso@22 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 34 genpkg_rules()
pankso@22 35 {
pankso@22 36 mkdir -p $fs/usr/bin $fs/usr/lib
slaxemulator@11055 37 cp -a $install/usr/bin/* $fs/usr/bin
slaxemulator@11055 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@11055 39 cp -a $install/usr/lib/pango $fs/usr/lib
slaxemulator@11055 40 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
pankso@577 41 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
slaxemulator@11055 42 cp -a $install/etc $fs
gokhlayeh@9472 43 touch $fs/etc/pango/pango.modules
pankso@22 44 }
pankso@22 45
pankso@22 46 # Pre and post install commands for Tazpkg.
pankso@22 47 post_install()
pankso@22 48 {
pankso@22 49 echo "Processing post-install commands..."
slaxemulator@11055 50 # Rebuilds pango.modules when installed.
pascal@5125 51 chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules
pankso@22 52 }
slaxemulator@6397 53