wok-6.x annotate perl-class-accessor/receipt @ rev 11481
libgtop: add glib to depends; add intltool to build_depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:01:59 2011 +0100 (2011-12-18) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
slaxemulator@8746 | 1 # SliTaz package receipt. |
slaxemulator@8746 | 2 |
slaxemulator@8746 | 3 PACKAGE="perl-class-accessor" |
slaxemulator@8746 | 4 VERSION="0.34" |
slaxemulator@8746 | 5 CATEGORY="development" |
slaxemulator@8746 | 6 SHORT_DESC="Automated accessor generation" |
slaxemulator@8746 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@8746 | 8 DEPENDS="perl" |
slaxemulator@8746 | 9 SOURCE="Class-Accessor" |
slaxemulator@8746 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@8746 | 11 WEB_SITE="http://search.cpan.org/dist/Class-Accessor/" |
slaxemulator@8746 | 12 WGET_URL="http://www.cpan.org/authors/id/K/KA/KASEI/$TARBALL" |
slaxemulator@8746 | 13 |
slaxemulator@8746 | 14 # Rules to configure and make the package. |
slaxemulator@8746 | 15 compile_rules() |
slaxemulator@8746 | 16 { |
slaxemulator@8746 | 17 cd $src |
slaxemulator@8746 | 18 perl Makefile.PL && |
slaxemulator@8746 | 19 make && |
slaxemulator@8746 | 20 make DESTDIR=$DESTDIR install |
slaxemulator@8746 | 21 } |
slaxemulator@8746 | 22 |
slaxemulator@8746 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8746 | 24 genpkg_rules() |
slaxemulator@8746 | 25 { |
slaxemulator@8746 | 26 mkdir -p $fs/usr |
slaxemulator@8746 | 27 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@8746 | 28 } |
slaxemulator@8746 | 29 |