wok-6.x view m4/receipt @ rev 12115
Fix usb-modeswitch-data build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 13 09:31:10 2012 +0100 (2012-03-13) |
parents | 246a832a3ec1 |
children | fc477d1ae77b |
line source
1 # SliTaz package receipt.
3 PACKAGE="m4"
4 VERSION="1.4.16"
5 CATEGORY="development"
6 SHORT_DESC="GNU traditional Unix macro processor."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/m4/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="glibc-base"
13 BUILD_DEPENDS="gcc"
15 # Rules to compile & install the temporary toolchain by Tazwok.
16 cook_tmp_toolchain()
17 {
18 cd $src
19 ./configure && make && make install
20 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 }