mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-20 14:31:47 +00:00
Upgraded libidn2 to 2.3.0
This commit is contained in:
@ -1,8 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
# libidn2 2.2,0
|
||||
# Source: https://ftp.gnu.org/gnu/libidn/libidn2-2.2.0.tar.gz
|
||||
|
||||
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
|
||||
read -p "Compile?" && make -j2 &&
|
||||
read -p "Install?" && sudo -S porg -lD "make install"
|
48
build-scripts/libidn2.build
Normal file
48
build-scripts/libidn2.build
Normal file
@ -0,0 +1,48 @@
|
||||
#! /bin/bash
|
||||
|
||||
# libidn2 2.3.0
|
||||
# Source: https://ftp.gnu.org/gnu/libidn/libidn2-2.3.0.tar.gz
|
||||
#
|
||||
# $BUILD = Directory to temporarily install
|
||||
# $PKGS = Directory to store built packages
|
||||
|
||||
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
|
||||
|
||||
read -p "Compile?" && make -j2 &&
|
||||
|
||||
read -p "Press Enter to install" &&
|
||||
# if not using a package manager:
|
||||
# make install
|
||||
|
||||
# if using pkgtools from Slackware, then:
|
||||
make DESTDIR=$BUILD install
|
||||
|
||||
read -p "Press Enter to create package description."
|
||||
cd $BUILD && sudo mkdir -v install &&
|
||||
cat > /tmp/slack-desc << "EOF"
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||
# the right side marks the last column you can put a character in. You must make
|
||||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
libidn2: libidn (GNU Internationalized Domain Name library)
|
||||
libidn2:
|
||||
libidn2: GNU Libidn is an implementation of the Stringprep, Punycode and IDNA
|
||||
libidn2: specifications defined by the IETF Internationalized Domain Names
|
||||
libidn2: (IDN) working group, used for internationalized domain names.
|
||||
libidn2:
|
||||
libidn2: This package designed for internationalized string handling
|
||||
libidn2: based on standards from the Internet Engineering Task Force
|
||||
libidn2: (IETF)'s IDN working group, designed for internationalized domain
|
||||
libidn2: names
|
||||
libidn2:
|
||||
EOF
|
||||
sudo mv /tmp/slack-desc install/ &&
|
||||
|
||||
read -p "Enter to build package" &&
|
||||
sudo makepkg -l y -c n $PKGS/libidn2-2.3.0-$(uname -m)-mlfs.txz &&
|
||||
sudo rm -rf $BUILD/*
|
||||
|
Reference in New Issue
Block a user