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

ardour, gdal, icu, js, jsoncpp, libvpx, llvm, mesa, minetest, opencv, qt5, scilab, webkit2gtk, webkitgtk, xalan-c: remove std.patch, use `fix math`.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 16:15:19 2018 +0200 (2018-03-21)
parents ea3c4b76ea5d
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-luit"
4 VERSION="1.1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Convert terminal i/o from legacy encodings to UTF-8"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7app.html"
12 TARBALL="luit-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 BUILD_DEPENDS="xorg-util-macros xorg-libfontenc-dev xorg-libX11-dev"
17 compile_rules() {
18 line1="#ifdef _XOPEN_SOURCE"
19 line2="# undef _XOPEN_SOURCE"
20 line3="# define _XOPEN_SOURCE 600"
21 line4="#endif"
22 sed -i -e "s@#ifdef HAVE_CONFIG_H@$line1\n$line2\n$line3\n$line4\n\n&@" sys.c
23 unset line1 line2 line3 line4
25 fix ld
26 ./configure \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="xorg-libfontenc"
38 }