-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
165 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/bin/bash | ||
|
||
export CFLAGS="-O2 " | ||
export CXXFLAGS="-O2 " | ||
|
||
|
||
export CFLAGS+="-m32" | ||
export CXXFLAGS+="-m32" | ||
export PKG_CONFIG="i686-pc-linux-gnu-pkg-config" | ||
|
||
PKG_VER=4.19.0 | ||
URL=https://ftp.gnu.org/gnu/libtasn1/libtasn1-$PKG_VER.tar.gz | ||
TAR=$(echo $URL | sed -r 's|(.*)/||') | ||
DIR=$(echo $TAR | sed 's|.tar.*||g') | ||
PACKAGE=lib32-$(echo $DIR | sed 's|-[^-]*$||g') | ||
|
||
# Get Package | ||
|
||
cd /blfs/builds | ||
wget $URL | ||
tar -xvf $TAR | ||
cd $DIR | ||
|
||
# Build | ||
|
||
./configure --prefix=/usr --disable-static --libdir=/usr/lib32 | ||
|
||
|
||
make -j16 | ||
|
||
|
||
# Install | ||
|
||
mkdir -p /pkgs/$PACKAGE/usr/lib32 | ||
make DESTDIR=$PWD/DESTDIR install | ||
cp -Rv DESTDIR/usr/lib32/* /pkgs/$PACKAGE/usr/lib32 | ||
rm -rf DESTDIR | ||
cp -rpv /pkgs/$PACKAGE/* / | ||
|
||
cd /pkgs | ||
|
||
|
||
|
||
sudo echo "libtasn1 lib32-glibc" > /pkgs/$PACKAGE/depends | ||
sudo echo "" > /pkgs/$PACKAGE/make-depends | ||
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE | ||
sudo cp $PACKAGE.tar.xz /finished | ||
|
||
|
||
cd /blfs/builds | ||
sudo rm -r $DIR | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/bin/bash | ||
|
||
export CFLAGS="-O2 " | ||
export CXXFLAGS="-O2 " | ||
|
||
|
||
PKG_VER=4.4.36 | ||
URL=https://github.com/besser82/libxcrypt/releases/download/v$PKG_VER/libxcrypt-$PKG_VER.tar.xz | ||
TAR=$(echo $URL | sed -r 's|(.*)/||') | ||
DIR=$(echo $TAR | sed 's|.tar.*||g') | ||
PACKAGE=lib32-$(echo $DIR | sed 's|-[^-]*$||g') | ||
|
||
# Get Package | ||
|
||
cd /blfs/builds | ||
wget $URL | ||
tar -xvf $TAR | ||
cd $DIR | ||
|
||
# Build | ||
|
||
export CFLAGS+="-m32" | ||
export CXXFLAGS+="-m32" | ||
export PKG_CONFIG="i686-pc-linux-gnu-pkg-config" | ||
./configure --prefix=/usr \ | ||
--enable-hashes=strong,glibc \ | ||
--enable-obsolete-api=no \ | ||
--disable-static \ | ||
--libdir=/usr/lib32 \ | ||
--disable-failure-tokens | ||
|
||
|
||
make -j22 | ||
|
||
|
||
# Install | ||
|
||
mkdir -p /pkgs/$PACKAGE/usr/lib32 | ||
make DESTDIR=$PWD/DESTDIR install | ||
cp -Rv DESTDIR/usr/lib32/* /pkgs/$PACKAGE/usr/lib32 | ||
rm -rf DESTDIR | ||
cp -rpv /pkgs/$PACKAGE/* / | ||
|
||
cd /pkgs | ||
|
||
|
||
|
||
sudo echo "libxcrypt lib32-glibc " > /pkgs/$PACKAGE/depends | ||
sudo echo "" > /pkgs/$PACKAGE/make-depends | ||
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE | ||
sudo cp $PACKAGE.tar.xz /finished | ||
|
||
|
||
cd /blfs/builds | ||
sudo rm -r $DIR | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/bash | ||
|
||
export CFLAGS="-O2 " | ||
export CXXFLAGS="-O2 " | ||
|
||
PKG_VER=1.0.11 | ||
URL=https://www.x.org/pub/individual/lib/libXau-$PKG_VER.tar.xz | ||
TAR=$(echo $URL | sed -r 's|(.*)/||') | ||
DIR=$(echo $TAR | sed 's|.tar.*||g') | ||
PACKAGE=lib32-libxau | ||
|
||
# Get Package | ||
export CFLAGS+="-m32" | ||
export CXXFLAGS+="-m32" | ||
export PKG_CONFIG="i686-pc-linux-gnu-pkg-config" | ||
cd /blfs/builds | ||
wget $URL | ||
tar -xvf $TAR | ||
cd $DIR | ||
|
||
# Build | ||
|
||
|
||
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-static --libdir=/usr/lib32 | ||
|
||
make -j20 | ||
|
||
|
||
# Install | ||
mkdir -p /pkgs/$PACKAGE/usr/lib32 | ||
make DESTDIR=$PWD/DESTDIR install | ||
cp -Rv DESTDIR/usr/lib32/* /pkgs/$PACKAGE/usr/lib32 | ||
rm -rf DESTDIR | ||
cp -rpv /pkgs/$PACKAGE/* / | ||
|
||
cd /pkgs | ||
|
||
|
||
|
||
sudo echo "libxau lib32-glibc" > /pkgs/$PACKAGE/depends | ||
sudo echo "" > /pkgs/$PACKAGE/make-depends | ||
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE | ||
sudo cp $PACKAGE.tar.xz /finished | ||
|
||
|
||
cd /blfs/builds | ||
sudo rm -r $DIR | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters