GNU libiconv.

This commit is contained in:
4fury-c3440d8
2023-02-27 07:52:17 +03:00
parent 34cc69cd09
commit 093a7aff6a
2 changed files with 90 additions and 0 deletions
+27
View File
@@ -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")
+63
View File
@@ -0,0 +1,63 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libiconv</Name>
<Homepage>https://www.gnu.org/software/libiconv/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>LGPL-2.1</License>
<IsA>library</IsA>
<PartOf>programming.library</PartOf>
<Summary>pass</Summary>
<Description>
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.
</Description>
<Archive sha1sum="409a6a8c07280e02cc33b65ae871311f4b33077b" type="targz">
https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz
</Archive>
<BuildDependencies>
<!-- <Dependency>glibc-devel</Dependency> -->
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
</Patches>
</Source>
<Package>
<Name>libiconv</Name>
<RuntimeDependencies>
<!-- <Dependency>glibc</Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/local/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/locale</Path>
<Path fileType="data">/usr/share/man/man1</Path>
<Path fileType="data">/usr/share/man/man3</Path>
<Path fileType="data">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libiconv-devel</Name>
<RuntimeDependencies>
<Dependency release="current">libiconv</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="headers">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-02-26</Date>
<Version>1.17</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>