From 0d37a1ef234c38b27faba43bc3a22f985d311deb Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 17 May 2023 17:01:27 +0100 Subject: Remove all firmware --- .../perl-config-autoconf.xibuild | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 repo/perl-config-autoconf/perl-config-autoconf.xibuild (limited to 'repo/perl-config-autoconf/perl-config-autoconf.xibuild') diff --git a/repo/perl-config-autoconf/perl-config-autoconf.xibuild b/repo/perl-config-autoconf/perl-config-autoconf.xibuild new file mode 100644 index 0000000..68ad5d6 --- /dev/null +++ b/repo/perl-config-autoconf/perl-config-autoconf.xibuild @@ -0,0 +1,21 @@ +#!/bin/sh + +NAME="perl-config-autoconf" +DESC="A module to implement some of AutoConf macros in pure perl." + +MAKEDEPS=" perl" + +PKG_VER=0.320 +SOURCE="https://cpan.metacpan.org/authors/id/A/AM/AMBS/Config-AutoConf-$PKG_VER.tar.gz" + +build() { + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + make DESTDIR="$PKG_DEST" install + find "$PKG_DEST" \( -name perllocal.pod -o -name .packlist \) -delete +} + -- cgit v1.2.1