wok diff perl-tk/receipt @ rev 1699

Add: get-eclipse-pdt, get and install eclipse PDT
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Nov 13 00:04:59 2008 +0100 (2008-11-13)
parents
children 89e187b7d309
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-tk/receipt	Thu Nov 13 00:04:59 2008 +0100
     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 +