blob: b37a7a003f26f35d995f9d36bb00f3f48053b98e (
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
36
37
38
39
40
41
42
43
44
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor:
# Maintainer:
pkgname=perl-term-shelly
_pkgreal=Term-Shelly
pkgver=0.01
pkgrel=0
pkgdesc="Perl module for Term-Shelly"
url="http://search.cpan.org/dist/Term-Shelly/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PS/PSIONIC/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal"
prepare() {
cd "$_builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor || return 1
else
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
fi
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="e59c4f12bc4b2a38294355d964d43cd2 Term-Shelly-0.01.tar.gz"
sha256sums="3785b2ef908433db10ea1dd17dc47b73ce2eb082318f9196b0718d236043fc6c Term-Shelly-0.01.tar.gz"
sha512sums="1ed3d4cf765288ce93ae2e80fe7f83c1d8a09c5f3ce5a66d6fd89a178f168fb5c21d05d4a20e351b4104ccd756221b04a5477fa052c56eeb77b8247914f15db3 Term-Shelly-0.01.tar.gz"
|