wok view util-linux/receipt @ rev 16591

slitaz-i18n: encodings are still used in translations and web pages, so add gconv modules to locale packages. Add: full set of locale-xx-extra. Up: all locale-xx, locale-xx-extra, slitaz-i18n, slitaz-i18n-extra (4.2). Up slitaz-tools, slitaz-tools-boxes (5.8.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 06 23:19:04 2014 +0300 (2014-05-06)
parents 6531dff139b3
children 5f652b930fb9
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="ftp://ftp.kernel.org/pub/linux/utils/util-linux/v$VERSION/$TARBALL"
13 HOST_ARCH="i486 arm"
14 LOCALE=""
16 DEPENDS=""
17 BUILD_DEPENDS="ncurses-dev zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 # Fix undeclared 'LINE_MAX'
24 case "$ARCH" in
25 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;;
26 esac
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --with-fsprobe=builtin \
31 --enable-partx \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 }