wok-6.x annotate pango-dev/receipt @ rev 199

All *-dev pkgs goes in category development
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 00:20:49 2008 +0100 (2008-02-13)
parents ad5e33e4dad7
children d5e75812e704
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="pango-dev"
pankso@22 4 VERSION="1.14.8"
pankso@199 5 CATEGORY="development"
pankso@22 6 SHORT_DESC="Library for layout and rendering of text devel files."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pankso@22 8 WANTED="pango"
pankso@22 9 WEB_SITE="http://www.pango.org/"
pankso@22 10
pankso@22 11
pankso@22 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 13 genpkg_rules()
pankso@22 14 {
pankso@22 15 mkdir -p $fs/usr/lib
pankso@22 16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
pankso@22 17 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pankso@22 18 cp -a $_pkg/usr/include $fs/usr
pankso@22 19 cp -a $_pkg/usr/lib/pango $fs/usr/lib
pankso@22 20 rm -rf $fs/usr/lib/pango/1.5.0/modules/*.so
pankso@22 21 }
pankso@22 22
pankso@22 23 # Pre and post install commands for Tazpkg.
pankso@22 24 post_install()
pankso@22 25 {
pankso@22 26 local root
pankso@22 27 root=$1
pankso@22 28 echo "Processing post-install commands..."
pankso@22 29 # Rebuils pango.modules when installed.
pankso@22 30 pango-querymodules > $root/etc/pango/pango.modules
pankso@22 31 }
pankso@22 32 SELF_INSTALL=1