wok-next view xorg-luit/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents
children f463de72afe3
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-luit"
4 VERSION="1.1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Locale and ISO 2022 support for Unicode terminals"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 TARBALL="luit-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
14 DEPENDS="xorg-libfontenc"
15 BUILD_DEPENDS="xorg-util-macros xorg-libfontenc-dev xorg-libX11-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 line1="#ifdef _XOPEN_SOURCE"
21 line2="# undef _XOPEN_SOURCE"
22 line3="# define _XOPEN_SOURCE 600"
23 line4="#endif"
24 sed -i -e "s@#ifdef HAVE_CONFIG_H@$line1\n$line2\n$line3\n$line4\n\n&@" sys.c
25 unset line1 line2 line3 line4
27 ./configure $CONFIGURE_ARGS && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders bin
34 }