wok-6.x view microperl/receipt @ rev 1017

Add conky (light system monitor)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jul 08 23:34:19 2008 +0200 (2008-07-08)
parents 972322439d00
children 169d84064c65
line source
1 # SliTaz package receipt.
3 PACKAGE="microperl"
4 VERSION="5.8.8"
5 CATEGORY="development"
6 SHORT_DESC="A micro version of Perl."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="perl"
9 WEB_SITE="http://www.perl.org/"
11 # Rules to configure and make the package.
12 #
13 # Microperl is a special package. We need to sed uconfig.sh and
14 # regenerate the Makefile.micro to modify the configuration.
15 #
16 compile_rules()
17 {
18 cd $src
19 # Install in /usr (default is /usr/local).
20 sed -i s/'usr\/local'/'usr'/ uconfig.sh
21 # Sed to search mods in /usr/lib/perl5.
22 sed -i s/'perl5\/5.9'/'perl5'/ uconfig.sh
23 # Optimisation.
24 sed -i s/'unknown'/'i486-pc-linux-gnu'/ uconfig.sh
25 # Make it!
26 make -f Makefile.micro regen_uconfig
27 make -f Makefile.micro
28 strip microperl
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/microperl $fs/usr/bin
36 }