wok annotate libsdl-perl/receipt @ rev 7680
up:fcitx-4.0.1 & remove table modules
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Fri Dec 17 20:03:29 2010 +0000 (2010-12-17) |
parents | |
children | be13f25e790b |
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" |
slaxemulator@7408 | 8 DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsmpeg libsdl-ttf" |
slaxemulator@7408 | 9 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" |
slaxemulator@7408 | 10 SOURCE="SDL_Perl" |
slaxemulator@7408 | 11 TARBALL="$SOURCE-v${VERSION}.tar.gz" |
slaxemulator@7408 | 12 WEB_SITE="http://sdl.perl.org" |
slaxemulator@7408 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL" |
slaxemulator@7408 | 14 |
slaxemulator@7408 | 15 # Rules to configure and make the package. |
slaxemulator@7408 | 16 compile_rules() |
slaxemulator@7408 | 17 { |
slaxemulator@7408 | 18 src=$WOK/$PACKAGE/$SOURCE-v${VERSION} |
slaxemulator@7408 | 19 cd $src |
slaxemulator@7408 | 20 perl Build.PL destdir="$PWD/_pkg" && |
slaxemulator@7408 | 21 perl Build && |
slaxemulator@7408 | 22 perl Build install |
slaxemulator@7408 | 23 } |
slaxemulator@7408 | 24 |
slaxemulator@7408 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7408 | 26 genpkg_rules() |
slaxemulator@7408 | 27 { |
slaxemulator@7408 | 28 _pkg=$WOK/$PACKAGE/$SOURCE-v${VERSION}/_pkg |
slaxemulator@7408 | 29 mkdir -p $fs/usr |
slaxemulator@7408 | 30 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@7408 | 31 } |
slaxemulator@7408 | 32 |