wok-next view perl-alien-sdl/receipt @ rev 21338

OpenSSL 1.0.2t -> 1.0.2u: overflow bug CVE-2019-1551
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 21 08:55:46 2019 +0000 (2019-12-21)
parents f17e1f86f546
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="Alien-SDL"
4 PACKAGE="perl-alien-sdl"
5 VERSION="1.446"
6 AUTHOR="FROGGS"
7 CATEGORY="perl"
8 SHORT_DESC="Alien::SDL - building, finding and using SDL binaries"
9 MAINTAINER="al.bobylev@gmail.com"
10 LICENSE="Perl"
11 WEB_SITE="https://metacpan.org/release/$ORIGIN"
12 HOST_ARCH="any"
13 REPOLOGY="${PACKAGE/-/:}"
15 TARBALL="$ORIGIN-$VERSION.tar.gz"
16 WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
18 DEPENDS_std="perl perl-capture-tiny perl-file-sharedir perl-file-which sdl"
19 BUILD_DEPENDS="$DEPENDS_std perl-module-build perl-archive-extract \
20 perl-text-patch perl-archive-zip sdl-dev"
22 # TODO: rebuild if sdl-config in sdl-dev changed
24 compile_rules() {
25 # Workaround bug with --with-sdl-config
26 sed -i '/^GetOptions/d' Build.PL
28 perl Build.PL --with-sdl-config &&
29 perl Build &&
30 perl Build install installdirs=vendor destdir=$install &&
32 chmod -R u+w $install
33 }