wok-stable annotate perl-file-mimeinfo/receipt @ rev 6687
Up: libwebkit to 1.2.5. Added gobject-introspection-dev, tar, gettext, and webkit-r-dev to build depends. It needs libwebkit-1.0.la to compile itself. Tar is needed cause of --version is not in busybox tar.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 12 21:49:16 2010 +0000 (2010-10-12) |
parents | |
children |
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" |
paul@3233 | 8 DEPENDS="perl perl-file-basedir perl-file-desktopentry" |
paul@3233 | 9 BUILD_DEPENDS="perl perl-file-basedir perl-file-desktopentry" |
paul@3233 | 10 SOURCE="File-MimeInfo" |
paul@3233 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@3233 | 12 WEB_SITE="http://cpan.org/" |
paul@3233 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PA/PARDUS/$SOURCE/$TARBALL" |
paul@3233 | 14 |
paul@3233 | 15 # Rules to configure and make the package. |
paul@3233 | 16 compile_rules() |
paul@3233 | 17 { |
paul@3233 | 18 cd $src |
paul@3233 | 19 perl Makefile.PL && |
paul@3233 | 20 make && |
paul@3233 | 21 make DESTDIR=$PWD/_pkg install |
paul@3233 | 22 } |
paul@3233 | 23 |
paul@3233 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3233 | 25 genpkg_rules() |
paul@3233 | 26 { |
paul@3233 | 27 mkdir -p $fs/usr |
paul@3233 | 28 cp -a $_pkg/usr/lib $fs/usr |
paul@3233 | 29 } |
paul@3233 | 30 |