wok-next annotate perl-file-mimeinfo/receipt @ rev 16700
Up: slitaz-base-files (5.6.3): fix bug with installing coreutils-line package
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 26 16:03:09 2014 +0300 (2014-05-26) |
parents | 906386ad33be |
children | 1a86cb99cbbf |
rev | line source |
---|---|
paul@3233 | 1 # SliTaz package receipt. |
paul@3233 | 2 |
paul@3233 | 3 PACKAGE="perl-file-mimeinfo" |
paul@3233 | 4 VERSION="0.15" |
paul@3233 | 5 CATEGORY="development" |
paul@3233 | 6 SHORT_DESC="File::MimeInfo module is a Perl extension." |
paul@3233 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
paul@3233 | 9 DEPENDS="perl perl-file-basedir perl-file-desktopentry" |
paul@3233 | 10 BUILD_DEPENDS="perl perl-file-basedir perl-file-desktopentry" |
paul@3233 | 11 SOURCE="File-MimeInfo" |
paul@3233 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@3233 | 13 WEB_SITE="http://cpan.org/" |
paul@3233 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PA/PARDUS/$SOURCE/$TARBALL" |
paul@3233 | 15 |
paul@3233 | 16 # Rules to configure and make the package. |
paul@3233 | 17 compile_rules() |
paul@3233 | 18 { |
paul@3233 | 19 cd $src |
paul@3233 | 20 perl Makefile.PL && |
paul@3233 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
paul@3233 | 23 } |
paul@3233 | 24 |
paul@3233 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3233 | 26 genpkg_rules() |
paul@3233 | 27 { |
paul@3233 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
paul@3233 | 30 } |
paul@3233 | 31 |