wok-next view make/receipt @ rev 8728

Fixed linux not to put a tmp folder in WOK. Instead its WOK/PACKAGE/tmp now. This fixes a problem with update-repository dying out cause of WOK/tmp folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 19 01:35:37 2011 +0000 (2011-02-19)
parents a882d098ba64
children 02bbaa9d12ba
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 DEPENDS="glibc-base"
9 BUILD_DEPENDS="gcc"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/make/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # http://savannah.gnu.org/bugs/?30612
20 patch -Np1 -i ../stuff/bug30612.patch
21 # http://savannah.gnu.org/bugs/?30723
22 patch -Np1 -i ../stuff/bug30723.patch
24 ./configure && make && make check && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 strip -s $fs/usr/bin/*
34 }