mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
43 lines
1.4 KiB
Text
43 lines
1.4 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Timothy Legge <timlegge@gmail.com>
|
|
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
|
pkgname=perl-net-amqp-rabbitmq
|
|
pkgver=2.40012
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Net-AMQP-RabbitMQ
|
|
pkgdesc="interact with RabbitMQ over AMQP using librabbitmq"
|
|
url="https://metacpan.org/release/Net-AMQP-RabbitMQ/"
|
|
arch="all"
|
|
options="!check" # credentials for cloudamqp.com test server no longer valid
|
|
license="MPL-1.1"
|
|
depends="perl perl-math-int64 openssl-dev"
|
|
makedepends="perl-dev perl-devel-checklib"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/M/MS/MSTEMLE/Net-AMQP-RabbitMQ-$pkgver.tar.gz
|
|
gcc14.patch
|
|
"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
MQSKIPSSL=1 make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
3e29beff8fbcc69276a23aa78c53c5474d44bb62bb26df555a5ff3ef5afa94c4d08b83a4b27d26d79c462b0f9ca60027c2c5448e8d450c31560e3e058234111e Net-AMQP-RabbitMQ-2.40012.tar.gz
|
|
95de603f5a5a5532b11a5aff4b98c22e8bc25281e5b9eb74c8f2100513551bf641245998b3e51699b989a9a54bb0f957bbb4dc02bef48796f4ff870cc9133d7b gcc14.patch
|
|
"
|