wok-4.x rev 1557
add perl-tk
author | Pierre-Jean Fichet <sygne@ombres.eu> |
---|---|
date | Sun Oct 12 23:16:22 2008 +0200 (2008-10-12) |
parents | 18a8e54602a2 |
children | 4f809380ad57 |
files | perl-tk/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-tk/receipt Sun Oct 12 23:16:22 2008 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="perl-tk" 1.7 +VERSION="804.028" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="perl-tk librairie" 1.10 +MAINTAINER="sygne@ombres.eu" 1.11 +DEPENDS="perl fontconfig" 1.12 +SOURCE="Tk" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.perltk.org/" 1.15 +WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + 1.22 + ./configure 1.23 + perl Makefile.PL 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs 1.31 + cp -a $_pkg/usr $fs/ 1.32 + strip -s $fs/usr/bin/* 1.33 +} 1.34 +