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

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents 0e7893ac206d
children cd7906120828
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 ./configure $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="xorg-libfontenc"
34 }