Browse Source
libraries/dietlibc: Updated for version 0.35, fix profile scripts.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/299/head
B. Watson
8 months ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
4 changed files with
17 additions and
15 deletions
-
libraries/dietlibc/dietlibc.SlackBuild
-
libraries/dietlibc/dietlibc.info
-
libraries/dietlibc/profile.d/dietlibc.csh
-
libraries/dietlibc/profile.d/dietlibc.sh
|
|
|
@ -23,14 +23,15 @@ |
|
|
|
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
|
# SUCH DAMAGE. |
|
|
|
|
|
|
|
# 20250512 bkw: update for v0.35, fix profile.d scripts. |
|
|
|
# 20230709 bkw: BUILD=2 |
|
|
|
# - new maintainer. |
|
|
|
|
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=dietlibc |
|
|
|
VERSION=${VERSION:-0.34} |
|
|
|
BUILD=${BUILD:-2} |
|
|
|
VERSION=${VERSION:-0.35} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
|
|
|
|
@ -69,15 +70,18 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ |
|
|
|
make |
|
|
|
make install DESTDIR=$PKG |
|
|
|
|
|
|
|
mkdir -p $PKG/etc/profile.d |
|
|
|
cat $CWD/profile.d/dietlibc.sh > $PKG/etc/profile.d/dietlibc.sh |
|
|
|
cat $CWD/profile.d/dietlibc.csh > $PKG/etc/profile.d/dietlibc.csh |
|
|
|
chmod 0755 $PKG/etc/profile.d/* |
|
|
|
|
|
|
|
strip $PKG/opt/diet/bin/* |
|
|
|
mkdir -p $PKG/usr/bin |
|
|
|
for i in $PKG/opt/diet/bin/*; do |
|
|
|
strip $i |
|
|
|
ln -sf /opt/diet/bin/$( basename $i ) $PKG/usr/bin |
|
|
|
done |
|
|
|
|
|
|
|
gzip -9 $PKG/opt/diet/man/*/* |
|
|
|
|
|
|
|
# 20250513 bkw: actually install the profile scripts. |
|
|
|
mkdir -p $PKG/etc/profile.d/ |
|
|
|
install -oroot -groot -m0755 $CWD/profile.d/* $PKG/etc/profile.d/ |
|
|
|
|
|
|
|
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
mkdir -p $PKGDOC |
|
|
|
cp -a AUTHOR* BUGS* C* FAQ* PORTING* README* SECURITY* THANKS* TODO* $PKGDOC |
|
|
|
|
|
|
|
@ -1,8 +1,8 @@ |
|
|
|
PRGNAM="dietlibc" |
|
|
|
VERSION="0.34" |
|
|
|
VERSION="0.35" |
|
|
|
HOMEPAGE="http://www.fefe.de/dietlibc/" |
|
|
|
DOWNLOAD="http://www.fefe.de/dietlibc/dietlibc-0.34.tar.xz" |
|
|
|
MD5SUM="4f04a6f642548cc5be716a6e0de6b631" |
|
|
|
DOWNLOAD="http://www.fefe.de/dietlibc/dietlibc-0.35.tar.xz" |
|
|
|
MD5SUM="100e0321b49fdfd2de8c63bc1e30aad8" |
|
|
|
DOWNLOAD_x86_64="" |
|
|
|
MD5SUM_x86_64="" |
|
|
|
REQUIRES="" |
|
|
|
|
|
|
|
@ -1,3 +1,2 @@ |
|
|
|
#!/bin/csh |
|
|
|
setenv PATH ${PATH}:/opt/diet/bin |
|
|
|
setenv MANPATH ${MANPATH}:/opt/diet/man |
|
|
|
setenv MANPATH /opt/diet/man:${MANPATH} |
|
|
|
@ -1,3 +1,2 @@ |
|
|
|
#!/bin/sh |
|
|
|
export PATH="${PATH}:/opt/diet/bin" |
|
|
|
export MANPATH="${MANPATH}:/opt/diet/man" |
|
|
|
export MANPATH="/opt/diet/man:$MANPATH" |