wok-6.x annotate libtool/receipt @ rev 18392
Add: WIP open-vm-tools kernel modules
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Fri Sep 18 23:50:52 2015 +0000 (2015-09-18) |
parents | 6eff489aa802 |
children | 124c3a7da04f |
rev | line source |
---|---|
pankso@30 | 1 # SliTaz package receipt. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libtool" |
pankso@12546 | 4 VERSION="2.4.2" |
pankso@211 | 5 CATEGORY="development" |
pankso@30 | 6 SHORT_DESC="The GNU Portable Library Tool." |
pankso@30 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
pankso@30 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@30 | 10 WEB_SITE="http://www.gnu.org/software/libtool/" |
pankso@30 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@16061 | 12 HOST_ARCH="i486 arm" |
pankso@30 | 13 |
pankso@12546 | 14 DEPENDS="libltdl automake autoconf" |
pankso@12546 | 15 BUILD_DEPENDS="automake autoconf" |
pankso@12546 | 16 |
pankso@16061 | 17 # Handle cross compilation. |
pankso@16061 | 18 case "$ARCH" in |
pankso@16061 | 19 arm) BUILD_DEPENDS="" ;; |
pankso@16061 | 20 esac |
pankso@16061 | 21 |
pankso@30 | 22 # Rules to configure and make the package. |
pankso@30 | 23 compile_rules() |
pankso@30 | 24 { |
pankso@30 | 25 cd $src |
pankso@12546 | 26 ./configure \ |
pankso@12546 | 27 --enable-shared \ |
pankso@12546 | 28 $CONFIGURE_ARGS && |
pankso@12546 | 29 make && make install |
pankso@30 | 30 } |
pankso@30 | 31 |
pankso@30 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 33 genpkg_rules() |
pankso@30 | 34 { |
erjo@8695 | 35 mkdir -p $fs/usr \ |
erjo@8695 | 36 $fs/usr/share $fs/usr/lib |
erjo@8695 | 37 |
pankso@12546 | 38 cp -a $install/usr/lib/*.*a $fs/usr/lib |
pankso@12546 | 39 cp -a $install/usr/include $fs/usr |
pankso@12546 | 40 cp -a $install/usr/share/aclocal $fs/usr/share |
pankso@12546 | 41 cp -a $install/usr/share/libtool $fs/usr/share |
pankso@12546 | 42 cp -a $install/usr/bin $fs/usr |
pankso@30 | 43 } |