From 093a7aff6aae3726dbaebb90459751608d035ce2 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Mon, 27 Feb 2023 07:52:17 +0300 Subject: [PATCH] GNU libiconv. --- programming/library/libiconv/actions.py | 27 +++++++++++ programming/library/libiconv/pspec.xml | 63 +++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 programming/library/libiconv/actions.py create mode 100644 programming/library/libiconv/pspec.xml diff --git a/programming/library/libiconv/actions.py b/programming/library/libiconv/actions.py new file mode 100644 index 0000000000..975977d15e --- /dev/null +++ b/programming/library/libiconv/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import autotools, pisitools, get + +i = ''.join([ + ' --prefix=/usr', + ' --bindir=/usr/local/bin', + ' --includedir=/usr/include/iconv', + ' --enable-extra-encodings', + ' --disable-static ' + ]) + +def setup(): + autotools.configure(i) + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.remove("/usr/share/doc/*.html") + pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "THANKS") diff --git a/programming/library/libiconv/pspec.xml b/programming/library/libiconv/pspec.xml new file mode 100644 index 0000000000..23140331e5 --- /dev/null +++ b/programming/library/libiconv/pspec.xml @@ -0,0 +1,63 @@ + + + + + libiconv + https://www.gnu.org/software/libiconv/ + + fury + uglyside@yandex.ru + + LGPL-2.1 + library + programming.library + pass + + GNU libiconv provides an implementation of the iconv() function and the iconv program for character set conversion. For use on systems which don't have one, or whose implementation cannot convert from/to Unicode. + + + https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz + + + + + + + + + + + libiconv + + + + + /usr/local/bin + /usr/lib + /usr/share/locale + /usr/share/man/man1 + /usr/share/man/man3 + /usr/share/doc + + + + + libiconv-devel + + libiconv + + + /usr/include + + + + + + 2023-02-26 + 1.17 + First build. + fury + uglyside@yandex.ru + + +