wok-next annotate sdl-perl/receipt @ rev 21545
updated cgames (2.2 -> 2.2b)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 17:35:44 2020 +0100 (2020-06-21) |
parents | |
children |
rev | line source |
---|---|
al@21087 | 1 # SliTaz package receipt v2. |
al@21087 | 2 |
al@21087 | 3 PACKAGE="sdl-perl" |
al@21087 | 4 VERSION="2.2.6" |
al@21087 | 5 CATEGORY="x-window" |
al@21087 | 6 SHORT_DESC="SDL perl support" |
al@21087 | 7 MAINTAINER="devel@slitaz.org" |
al@21087 | 8 LICENSE="LGPL2" |
al@21087 | 9 WEB_SITE="http://sdl.perl.org/" |
al@21087 | 10 REPOLOGY="perl:sdl-perl" |
al@21087 | 11 |
al@21087 | 12 TARBALL="SDL_Perl-v$VERSION.tar.gz" |
al@21087 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL" |
al@21087 | 14 TARBALL_SHA1="f4a0e630374ab0277071351094ce91faf9c366e3" |
al@21087 | 15 |
al@21087 | 16 BUILD_DEPENDS="perl-module-build perl-yaml sdl-dev perl-dev mesa-dev glu-dev" |
al@21087 | 17 DEPENDS="glu sdl mesa perl" |
al@21087 | 18 |
al@21087 | 19 compile_rules() { |
al@21087 | 20 perl Build.PL destdir="$install" && |
al@21087 | 21 perl Build && |
al@21087 | 22 perl Build install || return 1 |
al@21087 | 23 |
al@21087 | 24 find $install -type f -exec chmod u+w '{}' \; |
al@21087 | 25 } |