wok-6.x view util-linux/receipt @ rev 18995

Add: PeaZip 6.0.0 Env:GTK2 - (peazip.org).
author Leonardo Laporte <hackdorte@sapo.pt>
date Sat Mar 19 01:26:01 2016 -0300 (2016-03-19)
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 }