wok-6.x view util-linux/receipt @ rev 18260
Up slitaz-tools(949): fix tazbox manage_i18n
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 05 02:38:24 2015 +0300 (2015-08-05) |
parents | 5f652b930fb9 |
children | 4f122372e6f6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux"
4 VERSION="2.24"
5 CATEGORY="meta"
6 SHORT_DESC="Util linux new generation (Meta package to build utility ans libs)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="util-linux"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://freecode.com/projects/util-linux/"
12 WGET_URL="https://www.kernel.org/pub/linux/utils/util-linux/v$VERSION/$TARBALL"
13 HOST_ARCH="i486 arm"
14 LOCALE=""
16 DEPENDS="ncurses"
17 BUILD_DEPENDS="wget ncurses-dev zlib-dev udev-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
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 }