blob: 5d852cde9bf1d20b367e4d53e47fdd67989b4ace (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Jeff Bilyk <jbilyk at gmail>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-dbd-mysql
_realpkgname=DBD-mysql
pkgver=4.027
pkgrel=1
pkgdesc="Perl CPAN DBD::Mysql module"
url="http://search.cpan.org/~capttofu/DBD-mysql/"
arch="all"
license="GPL PerlArtistic"
depends="perl perl-dbi"
makedepends="perl perl-dev mysql-dev zlib-dev"
source="http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-$pkgver.tar.gz"
_builddir="$srcdir"/${_realpkgname}-$pkgver
prepare() {
return 0
}
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="11fa6449715ba9d3fa5f4ee5ae688d6f DBD-mysql-4.027.tar.gz"
sha256sums="2e00f1eb5822aa097b310203ff611dd635f9d000db9df7ce1e8b0493c082be41 DBD-mysql-4.027.tar.gz"
sha512sums="cea0d9f16b9b09461266f69517f8407700e9d266317b921f9290ba7ef9612ac3aac085feccd082882dd8115a87ee29a9bca4d2a26bf7580bc646af7a0242ab87 DBD-mysql-4.027.tar.gz"
|