# HG changeset patch # User Pascal Bellard # Date 1224414831 0 # Node ID 6e70601d92e44289ebba0d74ba8b3cba2ceeeddf # Parent a60e63e2c9d9c3187c52b848d963633edc78516c Add perl-jcode diff -r a60e63e2c9d9 -r 6e70601d92e4 perl-jcode/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-jcode/receipt Sun Oct 19 11:13:51 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-jcode" +VERSION="2.07" +CATEGORY="development" +SHORT_DESC="Jcode module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Jcode" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://cpan.org/authors/id/D/DA/DANKOGAI/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +