diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-05-14 09:08:07 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-05-14 09:10:20 +0300 |
commit | 338636ba922a0fb63c3c800458df3be517d35561 (patch) | |
tree | d2309e748e08adb1600616eb90c02cd376f4f8d1 /testing/perl-rt-extension-commandbymail | |
parent | 2c557b58eaf4f10cb98cd8396ee158754d93997e (diff) | |
download | aports-338636ba922a0fb63c3c800458df3be517d35561.tar.bz2 aports-338636ba922a0fb63c3c800458df3be517d35561.tar.xz |
testing/perl-rt-extension-commandbymail: new aport
http://search.cpan.org/dist/RT-Extension-CommandByMail/
RT4 extension to change metadata of a ticket via email
Diffstat (limited to 'testing/perl-rt-extension-commandbymail')
-rw-r--r-- | testing/perl-rt-extension-commandbymail/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/perl-rt-extension-commandbymail/APKBUILD b/testing/perl-rt-extension-commandbymail/APKBUILD new file mode 100644 index 0000000000..f3b976a64d --- /dev/null +++ b/testing/perl-rt-extension-commandbymail/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Extensively modified from template to work with this perl module +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=perl-rt-extension-commandbymail +_pkgreal=RT-Extension-CommandByMail +pkgver=0.16 +pkgrel=0 +pkgdesc="RT4 extension to change metadata of a ticket via email" +url="http://search.cpan.org/dist/RT-Extension-CommandByMail/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-mime-tools perl-universal-require" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="rt4 perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/F/FA/FALCONE/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + # Running tests would require RT4 database to be available + make +} + +package() { + cd "$_builddir" + make PERL_INSTALL_ROOT="$pkgdir" pure_install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist -o -name Test.pm \) -delete + find "$pkgdir" -type d -delete 2> /dev/null +} + +md5sums="5a0187e8a41837c9368dd795a6eb1c01 RT-Extension-CommandByMail-0.16.tar.gz" +sha256sums="87f7652925cc46ff9f2349659f987636463b387ac2efbb3c4352293f96496c04 RT-Extension-CommandByMail-0.16.tar.gz" +sha512sums="73be2de2020d51b8cc84a25d544135f8795432fb3f0c3350b79e111def8b1a561844396930cd3436a0d62b312879f238a60acf6b8732b4f2ee3d9e6b63ef08b9 RT-Extension-CommandByMail-0.16.tar.gz" |