diff options
author | B. Watson <urchlay@slackware.uk> | 2024-10-29 22:17:14 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-11-02 19:28:24 +0700 |
commit | 2998239221a68248ef57fe7a9616ff58c7bb3952 (patch) | |
tree | 9543c3a978e2f907a5aed3a614238be7d13a275c /development | |
parent | b271ac35d4f59751ecd576b47c4a0a07f1f9441e (diff) |
development/onetrueawk: Updated for version 20240728.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/onetrueawk/onetrueawk.SlackBuild | 17 | ||||
-rw-r--r-- | development/onetrueawk/onetrueawk.info | 6 |
2 files changed, 10 insertions, 13 deletions
diff --git a/development/onetrueawk/onetrueawk.SlackBuild b/development/onetrueawk/onetrueawk.SlackBuild index 00dcea130860..30bccbafb204 100644 --- a/development/onetrueawk/onetrueawk.SlackBuild +++ b/development/onetrueawk/onetrueawk.SlackBuild @@ -9,7 +9,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=onetrueawk -VERSION=${VERSION:-20220303_2402014} +SRCNAME=awk +VERSION=${VERSION:-20240728} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -33,16 +34,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -50,12 +47,12 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCNAME +tar xvf $CWD/$SRCNAME-$VERSION.tar.gz +cd $SRCNAME-$VERSION chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + make HOSTCC=${CC:-gcc} CFLAGS="$SLKCFLAGS" diff --git a/development/onetrueawk/onetrueawk.info b/development/onetrueawk/onetrueawk.info index a830b5ee9a51..2ed61624e624 100644 --- a/development/onetrueawk/onetrueawk.info +++ b/development/onetrueawk/onetrueawk.info @@ -1,8 +1,8 @@ PRGNAM="onetrueawk" -VERSION="20220303_2402014" +VERSION="20240728" HOMEPAGE="https://github.com/onetrueawk/awk" -DOWNLOAD="https://slackware.uk/~urchlay/src/onetrueawk-20220303_2402014.tar.xz" -MD5SUM="77c6cc994faa8636f470c778ff2bdf9a" +DOWNLOAD="https://github.com/onetrueawk/awk/archive/20240728/awk-20240728.tar.gz" +MD5SUM="e40e171aa59739c93073d96e855e6b75" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |