wok annotate perl-pango/receipt @ rev 15949
compton: avoid source tarball collisions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 12:17:31 2014 +0000 (2014-02-23) |
parents | 01b0687cb2a7 |
children | 20661c276bcf |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-pango" |
claudinei@3179 | 4 SOURCE="Pango" |
claudinei@14869 | 5 VERSION="1.224" |
claudinei@3179 | 6 CATEGORY="development" |
claudinei@3179 | 7 SHORT_DESC="Layout and render international text." |
claudinei@3179 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
pascal@5005 | 10 DEPENDS="perl pango perl-glib perl-cairo xcb-util" |
claudinei@4667 | 11 BUILD_DEPENDS="$DEPENDS glib-dev pango-dev cairo-dev freetype-dev \ |
claudinei@4667 | 12 libpng-dev fontconfig-dev perl-extutils-depends perl-extutils-pkgconfig" |
claudinei@3179 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@14869 | 14 WEB_SITE="http://search.cpan.org/~xaoc/Pango-1.224/" |
claudinei@14869 | 15 WGET_URL="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/$TARBALL" |
claudinei@3179 | 16 |
claudinei@3179 | 17 # Rules to configure and make the package. |
claudinei@3179 | 18 compile_rules() |
claudinei@3179 | 19 { |
claudinei@3179 | 20 cd $src |
claudinei@3179 | 21 perl Makefile.PL && |
claudinei@3179 | 22 make && |
slaxemulator@11050 | 23 make DESTDIR=$DESTDIR install |
claudinei@14873 | 24 rm -rf $pkgdir/installnone |
claudinei@3179 | 25 } |
claudinei@3179 | 26 |
claudinei@3179 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 28 genpkg_rules() |
claudinei@3179 | 29 { |
claudinei@3179 | 30 mkdir -p $fs/usr |
pascal@14702 | 31 cp -a $install/usr/lib $fs/usr |
claudinei@3179 | 32 } |
claudinei@3179 | 33 |