wok-next view perl-tk/receipt @ rev 2334
squidguard: relocate configfile, add post_remove function, restart squid after install/remove package.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 01 08:53:15 2009 +0100 (2009-03-01) |
parents | |
children | 89e187b7d309 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-tk"
4 VERSION="804.028"
5 CATEGORY="development"
6 SHORT_DESC="perl-tk librairie"
7 MAINTAINER="sygne@ombres.eu"
8 DEPENDS="perl fontconfig"
9 SOURCE="Tk"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.perltk.org/"
12 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 ./configure
20 perl Makefile.PL
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $_pkg/usr $fs/
29 strip -s $fs/usr/bin/*
30 }