wok view perl-apache-dbi/receipt @ rev 18707

fix some post_install status
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 16 15:49:50 2015 +0100 (2015-12-16)
parents 86d71949f3ad
children 20661c276bcf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-apache-dbi"
4 VERSION="1.07"
5 CATEGORY="development"
6 SHORT_DESC="Apache::DBI module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl perl-digest-sha1"
10 BUILD_DEPENDS="perl"
11 SOURCE="Apache-DBI"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.cpan.org/modules/"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PG/PGOLLUCCI/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }