wok annotate perl-thread/receipt @ rev 22376
glibmm-dev was new compiled
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 27 16:57:11 2019 +0100 (2019-11-27) |
parents | 6fab3264ba87 |
children | 026f210c4201 |
rev | line source |
---|---|
pascal@15380 | 1 # SliTaz package receipt. |
pascal@15380 | 2 |
pascal@15380 | 3 PACKAGE="perl-thread" |
pascal@15381 | 4 SOURCE="perl" |
pascal@20471 | 5 VERSION="5.14.1" |
pascal@15380 | 6 CATEGORY="development" |
pascal@15380 | 7 SHORT_DESC="Full Perl interpreter and modules." |
pascal@15380 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15380 | 9 LICENSE="GPL" |
pascal@15381 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@15380 | 11 DEPENDS="libdb gdbm zlib" |
pascal@15380 | 12 BUILD_DEPENDS="db gdbm zlib less" |
pascal@15380 | 13 WEB_SITE="http://www.perl.org/" |
pascal@15380 | 14 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" |
pascal@15380 | 15 |
pascal@15380 | 16 # Rules to configure and make the package. |
pascal@15380 | 17 # |
pascal@15380 | 18 compile_rules() |
pascal@15380 | 19 { |
pascal@15380 | 20 cd $src |
pascal@15380 | 21 ./configure.gnu --prefix=/usr -Dusethreads && |
pascal@15380 | 22 make && |
pascal@15380 | 23 make install |
pascal@15380 | 24 } |
pascal@15380 | 25 |
pascal@15380 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15380 | 27 genpkg_rules() |
pascal@15380 | 28 { |
pascal@15380 | 29 mkdir -p $fs/usr |
pascal@15380 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15380 | 31 cp -a $install/usr/lib $fs/usr |
pascal@15380 | 32 } |
pascal@15380 | 33 |
pascal@15380 | 34 # Pre install commands for Tazpkg. |
pascal@15380 | 35 # Remove perl link to microperl if any. |
pascal@15380 | 36 # |
pascal@15380 | 37 pre_install() |
pascal@15380 | 38 { |
pascal@18730 | 39 rm -f "$1/usr/bin/perl" |
pascal@15380 | 40 } |