# HG changeset patch # User Pascal Bellard # Date 1226152525 0 # Node ID 1ff816873844749fbd5076467a2503708caf03c1 # Parent 86b25136cad815efd98ef88633bf2b7738b8f083 Add perl-io-socket-ssl diff -r 86b25136cad8 -r 1ff816873844 perl-io-socket-ssl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-io-socket-ssl/receipt Sat Nov 08 13:55:25 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-io-socket-ssl" +VERSION="1.17" +CATEGORY="development" +SHORT_DESC="IO::Socket::SSL module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="IO-Socket-SSL" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" +WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/$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 +} +