wok-next annotate libtool/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 90a5eb560fd6 |
children | 228b9c951d97 |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libtool" |
al@19571 | 4 VERSION="2.4.6" |
pankso@211 | 5 CATEGORY="development" |
al@20436 | 6 SHORT_DESC="The GNU Portable Library Tool" |
pankso@30 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
al@19571 | 9 WEB_SITE="https://www.gnu.org/software/libtool/" |
al@20436 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/libtool.html" |
pankso@30 | 11 |
al@19571 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19571 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
al@19571 | 14 |
al@20436 | 15 BUILD_DEPENDS_arm=" " |
al@19571 | 16 BUILD_DEPENDS="automake autoconf gfortran" |
al@20436 | 17 SPLIT="libltdl libtool" |
pankso@12546 | 18 |
al@20436 | 19 compile_rules() { |
al@20595 | 20 ./configure $CONFIGURE_ARGS && |
al@20595 | 21 fix libtool && |
al@20595 | 22 make && |
al@20595 | 23 make install |
pankso@30 | 24 } |
pankso@30 | 25 |
al@20436 | 26 genpkg_rules() { |
al@19745 | 27 case $PACKAGE in |
al@19745 | 28 libltdl) |
al@19745 | 29 copy *.so* |
al@19745 | 30 CAT="system-tools|library" |
al@20357 | 31 DEPENDS="glibc-base" |
al@19745 | 32 ;; |
al@20436 | 33 libtool) |
al@20436 | 34 copy @std @dev @rm |
al@20436 | 35 DEPENDS="libltdl automake autoconf" |
al@20436 | 36 TAGS="LFS" |
al@20436 | 37 ;; |
al@19745 | 38 esac |
pankso@30 | 39 } |