wok-6.x view perl-net-mysql/receipt @ rev 17533
Add libssh2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 21 17:12:27 2015 +0100 (2015-01-21) |
parents | 97448d46d231 |
children | 20661c276bcf |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-mysql"
4 VERSION="0.09"
5 CATEGORY="development"
6 SHORT_DESC="Net::MySQL module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl libmysqlclient"
10 BUILD_DEPENDS="perl"
11 SOURCE="Net-MySQL"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/O/OY/OYAMA/$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 }