# Contributor: Jeff Bilyk # Maintainer: Leonardo Arena setglobal pkgname = 'perl-dbd-odbc' setglobal _realpkgname = 'DBD-ODBC' setglobal pkgver = '1.56' setglobal pkgrel = '1' setglobal pkgdesc = '"Perl CPAN DBD::ODBC module'" setglobal url = '"http://search.cpan.org/dist/DBD-ODBC/'" setglobal arch = '"all'" setglobal license = '"GPL PerlArtistic'" setglobal depends = '"perl perl-dbi'" setglobal makedepends = '"perl perl-dev unixodbc-dev'" setglobal subpackages = ""$pkgname-doc"" setglobal source = ""http://search.cpan.org/CPAN/authors/id/M/MJ/MJEVANS/DBD-ODBC-$pkgver.tar.gz"" setglobal _builddir = ""$srcdir"/$(_realpkgname)-$pkgver" proc prepare { return 0 } proc build { cd $_builddir env PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setglobal md5sums = '"fdbe7a1fada61bc7c9a1ddaeff21b7ed DBD-ODBC-1.56.tar.gz'" setglobal sha256sums = '"d20a899881b2cf033052af4055cda1f5e9ab2720999cf2832518509ac6869cdc DBD-ODBC-1.56.tar.gz'" setglobal sha512sums = '"374bf0f87bbb84128f5999670aee228185d6741a2364745a6dd268068ea53b73f6c8756da60052ae86ec74a335b583d0ae93c449f620c467f1d1fba84fcfa805 DBD-ODBC-1.56.tar.gz'"