# HG changeset patch # User Pascal Bellard # Date 1365256027 -7200 # Node ID 7ce282b2221fa394350f577406a090d71a805f7d # Parent df7f484ec8dfce1c3384a9d6023722ef7116ffc9 Add perl-unix-mknod diff -r df7f484ec8df -r 7ce282b2221f perl-lchown/receipt --- a/perl-lchown/receipt Sat Apr 06 15:40:02 2013 +0200 +++ b/perl-lchown/receipt Sat Apr 06 15:47:07 2013 +0200 @@ -10,8 +10,8 @@ WEB_SITE="http://cpan.org/" WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NC/NCLEATON/$TARBALL" -DEPENDS="perl fuse" -BUILD_DEPENDS="perl fuse-dev" +DEPENDS="perl" +BUILD_DEPENDS="perl" # Rules to configure and make the package. compile_rules() diff -r df7f484ec8df -r 7ce282b2221f perl-unix-mknod/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-unix-mknod/receipt Sat Apr 06 15:47:07 2013 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="perl-unix-mknod" +VERSION="0.04" +CATEGORY="development" +SHORT_DESC="Unix::Mknod module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="Unix-Mknod" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PI/PIRZYK/$TARBALL" + +DEPENDS="perl" +BUILD_DEPENDS="perl" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr +} +