From f6332a43c35387c4a2dea1746be5fd092890ae0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:09:07 +0100 Subject: added lf and iptables --- repo/perl-path-tiny/perl-path-tiny.xibuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 repo/perl-path-tiny/perl-path-tiny.xibuild (limited to 'repo/perl-path-tiny/perl-path-tiny.xibuild') diff --git a/repo/perl-path-tiny/perl-path-tiny.xibuild b/repo/perl-path-tiny/perl-path-tiny.xibuild new file mode 100644 index 0000000..18f2fe9 --- /dev/null +++ b/repo/perl-path-tiny/perl-path-tiny.xibuild @@ -0,0 +1,26 @@ +#!/bin/sh + +NAME="perl-path-tiny" +DESC="File path utility" + +MAKEDEPS="" + +PKG_VER=0.122 +SOURCE="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Path-Tiny-$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 +} + +check() { + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make test +} + +package() { + make DESTDIR="$PKG_DEST" install + find "$PKG_DEST" \( -name perllocal.pod -o -name .packlist \) -delete +} + -- cgit v1.2.1