wok view util-linux/receipt @ rev 13325
libhangul: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 03 09:47:49 2012 +0200 (2012-09-03) |
parents | d35ad056f90e |
children | a579549edab7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux"
4 VERSION="2.21.1"
5 CATEGORY="meta"
6 SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="util-linux"
9 TARBALL="$SOURCE-$VERSION.tar.xz"
10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
11 WGET_URL="http://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/$TARBALL"
12 HOST_ARCH="i486 arm"
13 LOCALE=""
15 DEPENDS=""
16 BUILD_DEPENDS="ncurses-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 # Fix undeclared 'LINE_MAX'
23 case "$ARCH" in
24 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;;
25 esac
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --with-fsprobe=builtin \
30 --enable-partx \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 }