rev |
line source |
pankso@22
|
1 # SliTaz package receipt.
|
pankso@22
|
2
|
pankso@22
|
3 PACKAGE="pango-dev"
|
pankso@547
|
4 VERSION="1.18.4"
|
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 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@22
|
12 genpkg_rules()
|
pankso@22
|
13 {
|
pankso@22
|
14 mkdir -p $fs/usr/lib
|
pankso@22
|
15 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
|
pankso@22
|
16 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
|
pankso@22
|
17 cp -a $_pkg/usr/include $fs/usr
|
pankso@22
|
18 cp -a $_pkg/usr/lib/pango $fs/usr/lib
|
pankso@577
|
19 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.so
|
pankso@22
|
20 }
|
pankso@22
|
21
|
pankso@22
|
22 # Pre and post install commands for Tazpkg.
|
pankso@22
|
23 post_install()
|
pankso@22
|
24 {
|
pankso@22
|
25 local root
|
pankso@22
|
26 root=$1
|
pankso@22
|
27 echo "Processing post-install commands..."
|
pankso@22
|
28 # Rebuils pango.modules when installed.
|
pankso@22
|
29 pango-querymodules > $root/etc/pango/pango.modules
|
pankso@22
|
30 }
|
pankso@22
|
31 SELF_INSTALL=1
|