smlinux/base/libidn2/libidn2.SMBuild
PktSurf 1a260f04ce Disabled native language support (nls) in:
-> base/gdb,gdbm,glib,iso-codes,libgpg-error,
-> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz
Made fixes to a bunch of base build files to put stuff in /usr
2024-10-18 10:50:11 +05:30

35 lines
698 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libidn2
version=2.3.0
build=1sml
homepage="https://gitlab.com/libidn/libidn2"
desc="GNU Internationalized Domain Name library"
requires="libunistring"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static \
--disable-nls
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
f525d6fa07e3b77ecb6e9ef70c3480b0ff4a7e2b06610c81cd1c02a3882efab29c8798f238b028445a33a70d0526246fa1161410920b2365e82a204381844446 libidn2-2.3.0.tar.lz
"