Commit 7b9af7fc authored by Leo's avatar Leo Committed by Timo Teräs

main/perl-inline: fix license, modernize

- Fix wrong license
- use $() instead of backticks ``
parent cf27c567
......@@ -3,11 +3,11 @@
pkgname=perl-inline
_pkgname=Inline
pkgver=0.83
pkgrel=0
pkgrel=1
pkgdesc="Write Perl subroutines in other programming languages"
url="http://search.cpan.org/~ingy/Inline/"
arch="noarch"
license="Artistic-1.0-Perl"
license="Artistic-1.0-Perl GPL-1.0-or-later"
depends="perl"
makedepends="perl-dev"
checkdepends="perl-test-warn"
......@@ -17,12 +17,12 @@ builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
default_prepare
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment