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