Skip to content

Commit

Permalink
New packages and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulc07 committed Aug 25, 2024
1 parent 0ed18e3 commit b7a9651
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export CFLAGS=-"O2"
export CXXFLAGS="-O2"


PKG_VER=6.10.3
PKG_VER=6.10.6
URL=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-$PKG_VER.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
Expand Down
53 changes: 53 additions & 0 deletions lib32/lib32-libtasn1
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


57 changes: 57 additions & 0 deletions lib32/lib32-libxcrypt
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


49 changes: 49 additions & 0 deletions lib32/lib32-xorg/lib32-libXau
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


2 changes: 1 addition & 1 deletion steam
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export CXXFLAGS="-O2"

#ARCH_PKG=steam
#ARCH_VAR=pkgver
PKG_VER=1.0.0.79
PKG_VER=1.0.0.81
URL=https://repo.steampowered.com/steam/pool/steam/s/steam/steam_$PKG_VER.tar.gz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=steam-launcher
Expand Down
4 changes: 2 additions & 2 deletions v4l-utils
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ cd /pkgs



sudo echo "llvm alsa-lib glu libjpeg-turbo qt5 sdl2" > /pkgs/$PACKAGE/depends
sudo echo "" > /pkgs/$PACKAGE/make-depends
sudo echo "llvm alsa-lib glu libjpeg-turbo sdl2" > /pkgs/$PACKAGE/depends
sudo echo "qt5" > /pkgs/$PACKAGE/make-depends
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE
sudo cp $PACKAGE.tar.xz /finished

Expand Down
4 changes: 2 additions & 2 deletions wine
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

export CFLAGS=-"O2"
export CXXFLAGS="-O2"
PKG_VER=8.21
URL=https://dl.winehq.org/wine/source/8.x/wine-$PKG_VER.tar.xz
PKG_VER=9.16
URL=https://dl.winehq.org/wine/source/9.x/wine-$PKG_VER.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=wine
Expand Down

0 comments on commit b7a9651

Please sign in to comment.