mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
New package: libiconv-1.18
This commit is contained in:
parent
8136c4d023
commit
3a621be877
4 changed files with 46 additions and 0 deletions
|
@ -4540,3 +4540,5 @@ libopencore-amrwb.so.0 opencore-amr-0.1.6_1
|
|||
libilbc.so.3 libilbc-3.0.4_1
|
||||
libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
|
||||
libSDL3.so.0 SDL3-3.2.2_1
|
||||
libiconv.so.2 libiconv-1.18_1
|
||||
libcharset.so.1 libiconv-1.18_1
|
||||
|
|
1
srcpkgs/libiconv-devel
Symbolic link
1
srcpkgs/libiconv-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libiconv
|
1
srcpkgs/libiconv-utils
Symbolic link
1
srcpkgs/libiconv-utils
Symbolic link
|
@ -0,0 +1 @@
|
|||
libiconv
|
42
srcpkgs/libiconv/template
Normal file
42
srcpkgs/libiconv/template
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Template file for 'libiconv'
|
||||
pkgname=libiconv
|
||||
version=1.18
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-extra-encodings"
|
||||
hostmakedepends="gettext"
|
||||
short_desc="Portable implementation of GNU iconv"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later, LGPL-2.1-or-later"
|
||||
homepage="https://www.gnu.org/software/libiconv/"
|
||||
distfiles="${GNU_SITE}/libiconv/libiconv-${version}.tar.gz"
|
||||
checksum=3b08f5f4f9b4eb82f151a7040bfd6fe6c6fb922efe4b1659c66ea933276965e8
|
||||
|
||||
post_install() {
|
||||
# Avoid conflicts with libc iconv implementation
|
||||
mkdir ${DESTDIR}/usr/include/libiconv
|
||||
mv ${DESTDIR}/usr/include/*.h ${DESTDIR}/usr/include/libiconv
|
||||
mv ${DESTDIR}/usr/bin/{,gnu-}iconv
|
||||
|
||||
# Remove conflicting man pages and html docs
|
||||
rm -rf ${DESTDIR}/usr/share/man
|
||||
rm -rf ${DESTDIR}/usr/share/doc
|
||||
}
|
||||
|
||||
libiconv-utils_package() {
|
||||
short_desc+=" - utilities"
|
||||
pkg_install() {
|
||||
vmove usr/bin
|
||||
vmove usr/share/locale
|
||||
}
|
||||
}
|
||||
|
||||
libiconv-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue