wok annotate perl-tk/receipt @ rev 5134

Fix: tazusb missing desktop file
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 23 11:15:44 2010 +0100 (2010-03-23)
parents 4482e0fab13a
children 9f96d6c3e8db
rev   line source
sygne@1557 1 # SliTaz package receipt.
sygne@1557 2
sygne@1557 3 PACKAGE="perl-tk"
sygne@1557 4 VERSION="804.028"
sygne@1557 5 CATEGORY="development"
sygne@1557 6 SHORT_DESC="perl-tk librairie"
sygne@1557 7 MAINTAINER="sygne@ombres.eu"
pascal@2522 8 DEPENDS="perl fontconfig jpeg xorg-libX11 xorg-libXau xorg-libXdmcp zlib libpng"
sygne@1557 9 SOURCE="Tk"
sygne@1557 10 TARBALL="$SOURCE-$VERSION.tar.gz"
sygne@1557 11 WEB_SITE="http://www.perltk.org/"
sygne@1557 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL"
sygne@1557 13
sygne@1557 14 # Rules to configure and make the package.
sygne@1557 15 compile_rules()
sygne@1557 16 {
sygne@1557 17 cd $src
pascal@2457 18 perl Makefile.PL &&
sygne@1557 19 make DESTDIR=$PWD/_pkg install
sygne@1557 20 }
sygne@1557 21
sygne@1557 22 # Rules to gen a SliTaz package suitable for Tazpkg.
sygne@1557 23 genpkg_rules()
sygne@1557 24 {
sygne@1557 25 mkdir -p $fs
sygne@1557 26 cp -a $_pkg/usr $fs/
sygne@1557 27 strip -s $fs/usr/bin/*
sygne@1557 28 }
sygne@1557 29