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

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
parents f463de72afe3
children 0e7893ac206d
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/"
11 TARBALL="luit-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
14 BUILD_DEPENDS="xorg-util-macros xorg-libfontenc-dev xorg-libX11-dev"
15 PKG_RULE="std"
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 \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 copy @std
39 DEPENDS="xorg-libfontenc"
40 }