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

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents cd7906120828
children
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/svn/x/x7app.html"
11 REPOLOGY="luit"
13 TARBALL="luit-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/app/$TARBALL"
16 BUILD_DEPENDS="xorg-util-macros xorg-libfontenc-dev xorg-libX11-dev"
18 compile_rules() {
19 line1="#ifdef _XOPEN_SOURCE"
20 line2="# undef _XOPEN_SOURCE"
21 line3="# define _XOPEN_SOURCE 600"
22 line4="#endif"
23 sed -i -e "s@#ifdef HAVE_CONFIG_H@$line1\n$line2\n$line3\n$line4\n\n&@" sys.c
24 unset line1 line2 line3 line4
26 ./configure $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 copy @std
34 DEPENDS="xorg-libfontenc"
35 }