mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
libraries/libcurl-gnutls: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6ba423f9df
commit
66d093641c
1 changed files with 10 additions and 6 deletions
|
@ -26,17 +26,21 @@
|
|||
# <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# 20230515 bkw: Modified by SlackBuilds.org. Align with template, and
|
||||
# s/PKGNAM/SRCNAM/g (sorry, PRGNAM and PKGNAM look too similar in too
|
||||
# many fonts).
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=libcurl-gnutls
|
||||
PKGNAM=curl
|
||||
SRCNAM=curl
|
||||
VERSION=${VERSION:-8.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
TMP=${TMP:-/tmp/pkg}
|
||||
PKG=$TMP/package-$PKGNAM
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ -z ${ARCH:=""} ]; then
|
||||
|
@ -74,9 +78,9 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PKGNAM-$VERSION
|
||||
tar xvf $CWD/$PKGNAM-$VERSION.tar.xz
|
||||
cd $PKGNAM-$VERSION
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
|
||||
cd $SRCNAM-$VERSION
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
|
Loading…
Reference in a new issue