wok-next view make/receipt @ rev 12855

make: cross compile for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 23 16:27:19 2012 +0200 (2012-05-23)
parents e6bc71a2e848
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="make"
4 VERSION="3.82"
5 CATEGORY="development"
6 SHORT_DESC="GNU Make to generate executables and other files from source."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/make/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 HOST_ARCH="i486 arm x86_64"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # http://savannah.gnu.org/bugs/?30612
21 patch -Np1 -i $stuff/bug30612.patch
22 # http://savannah.gnu.org/bugs/?30723
23 patch -Np1 -i $stuff/bug30723.patch
24 ./configure $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }