# SliTaz package receipt. PACKAGE="libsdl-perl" VERSION="2.2.6" CATEGORY="x-window" SHORT_DESC="SDL perl support." MAINTAINER="slaxemulator@gmail.com" DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsmpeg libsdl-ttf" BUILD_DEPENDS="perl-yaml xorg-dev libglu-mesa mesa-dev libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev" SOURCE="SDL_Perl" TARBALL="$SOURCE-v${VERSION}.tar.gz" WEB_SITE="http://sdl.perl.org" WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src perl Build.PL destdir="$PWD/_pkg" && perl Build && perl Build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/lib $fs/usr }