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

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 05 01:38:46 2018 +0200 (2018-11-05)
parents
children f17e1f86f546
line source
1 # SliTaz package receipt v2.
3 PACKAGE="perl-alien-sdl"
4 VERSION="1.446"
5 CATEGORY="perl"
6 SHORT_DESC="Alien::SDL - building, finding and using SDL binaries"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Alien-SDL"
10 REPOLOGY="perl:alien-sdl"
12 TARBALL="Alien-SDL-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/F/FR/FROGGS/$TARBALL"
15 BUILD_DEPENDS="perl-file-which perl-module-build perl-file-sharedir \
16 perl-archive-extract perl-text-patch perl-capture-tiny perl-archive-zip \
17 libsdl-dev"
19 # TODO: rebuild if sdl-config in libsdl-dev changed
21 compile_rules() {
22 # Workaround bug with --with-sdl-config
23 sed -i '/^GetOptions/d' Build.PL
25 perl Build.PL --with-sdl-config &&
26 perl Build &&
27 perl Build install installdirs=vendor destdir=$install &&
29 chmod -R u+w $install
30 }
32 genpkg_rules() {
33 copy @std
34 DEPENDS="perl perl-capture-tiny perl-file-sharedir perl-file-which libsdl"
35 }