wok annotate libsdl-perl/receipt @ rev 25324
updated squid, squid-auth-helpers and squid-langpack (3.4.2 -> 5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 17:10:45 2022 +0100 (2022-07-22) |
parents | fb22330086d8 |
children | 73f36875e5a7 |
rev | line source |
---|---|
slaxemulator@7408 | 1 # SliTaz package receipt. |
slaxemulator@7408 | 2 |
slaxemulator@7408 | 3 PACKAGE="libsdl-perl" |
slaxemulator@7408 | 4 VERSION="2.2.6" |
slaxemulator@7408 | 5 CATEGORY="x-window" |
slaxemulator@7408 | 6 SHORT_DESC="SDL perl support." |
slaxemulator@7408 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15004 | 8 LICENSE="LGPL2" |
slaxemulator@7408 | 9 SOURCE="SDL_Perl" |
slaxemulator@7408 | 10 TARBALL="$SOURCE-v${VERSION}.tar.gz" |
pascal@24103 | 11 WEB_SITE="https://metacpan.org/dist/SDL" # http://sdl.perl.org |
slaxemulator@7408 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL" |
slaxemulator@7408 | 13 |
pascal@13796 | 14 DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer \ |
pascal@13796 | 15 libsdl-net libsmpeg libsdl-ttf" |
pascal@13796 | 16 BUILD_DEPENDS="perl-yaml xorg-dev libglu-mesa libglu-mesa-dev mesa-dev \ |
pascal@13796 | 17 libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev \ |
pascal@13796 | 18 libsdl-ttf-dev" |
pascal@13796 | 19 |
pascal@24384 | 20 # What is the latest version available today? |
pascal@24103 | 21 current_version() |
pascal@24103 | 22 { |
pascal@24384 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24614 | 24 sed '/SDL_Perl/!d;/tar/!d;s|.*l-v*||;s|.tar.*||;s|_|.|g' | sort -Vr | sed q |
pascal@24103 | 25 } |
pascal@24103 | 26 |
slaxemulator@7408 | 27 # Rules to configure and make the package. |
slaxemulator@7408 | 28 compile_rules() |
slaxemulator@7408 | 29 { |
slaxemulator@7408 | 30 cd $src |
pascal@13796 | 31 perl Build.PL destdir="$DESTDIR" && |
slaxemulator@7408 | 32 perl Build && |
slaxemulator@7408 | 33 perl Build install |
slaxemulator@7408 | 34 } |
slaxemulator@7408 | 35 |
slaxemulator@7408 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7408 | 37 genpkg_rules() |
slaxemulator@7408 | 38 { |
slaxemulator@7408 | 39 mkdir -p $fs/usr |
pascal@13796 | 40 cp -a $install/usr/lib $fs/usr |
slaxemulator@7408 | 41 } |
slaxemulator@7408 | 42 |