wok-4.x rev 1695
Add perl-time-hires
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 11 20:54:23 2008 +0000 (2008-11-11) |
parents | fd3dae3f7fa6 |
children | e13c75a78a52 |
files | lxlauncher/receipt perl-time-hires/receipt |
line diff
1.1 --- a/lxlauncher/receipt Tue Nov 11 21:59:57 2008 +0100 1.2 +++ b/lxlauncher/receipt Tue Nov 11 20:54:23 2008 +0000 1.3 @@ -4,7 +4,7 @@ 1.4 VERSION="0.2" 1.5 CATEGORY="x-window" 1.6 SHORT_DESC="LXDE desktop launcher." 1.7 -DEPENDS="xorg-libX11 gtk+" 1.8 +DEPENDS="xorg-libX11 gtk+ gnome-menus" 1.9 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev startup-notification gnome-menus gnome-menus-dev" 1.10 MAINTAINER="pankso@slitaz.org" 1.11 TARBALL="$PACKAGE-$VERSION.tar.gz"
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/perl-time-hires/receipt Tue Nov 11 20:54:23 2008 +0000 2.3 @@ -0,0 +1,30 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="perl-time-hires" 2.7 +VERSION="1.9715" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Time::HiRes module is a Perl extension." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +DEPENDS="perl" 2.12 +BUILD_DEPENDS="perl" 2.13 +SOURCE="Time-HiRes" 2.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.15 +WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" 2.16 +WGET_URL="http://search.cpan.org/CPAN/authors/id/J/JH/JHI/$TARBALL" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + perl Makefile.PL && 2.23 + make && 2.24 + make DESTDIR=$PWD/_pkg install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr 2.31 + cp -a $_pkg/usr/lib $fs/usr 2.32 +} 2.33 +