Merge pull request 'Add python, xorg libs & perl' (#25) from Ohio2/repo:master into master

Reviewed-on: alnux/repo#25
This commit is contained in:
hippoz 2021-07-16 01:12:12 +01:00
commit 5f21d2d2a7
32 changed files with 269 additions and 58 deletions

8
autoconf/build Executable file
View file

@ -0,0 +1,8 @@
wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.xz
tar -xf autoconf-2.71.tar.xz
cd autoconf-2.71
sed '361 s/{/\\{/' -i bin/autoscan.in
./configure --prefix=/usr
make
make DESTDIR="$1" install

5
autoconf/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="2.71"
pkg_config_name="autoconf"
pkg_config_makedepends=""
pkg_config_depends=""

7
automake/build Executable file
View file

@ -0,0 +1,7 @@
wget https://ftp.gnu.org/gnu/automake/automake-1.16.3.tar.xz
tar -xf automake-1.16.3.tar.xz
cd automake-1.16.3
./configure --prefix=/usr --docdir=/usr/share/doc/automake-1.16.1
make
make DESTDIR="$1" install

5
automake/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="1.16.3"
pkg_config_name="automake"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -2,4 +2,4 @@ pkg_config_deploy=true
pkg_config_ver="1.33.1"
pkg_config_name="busybox"
pkg_config_makedepends=""
pkg_config_depends=""
pkg_config_depends="curses-lib"

View file

@ -9,47 +9,47 @@ pushd build
make -C include
make -C progs tic
popd
./configure --prefix=/usr --build=$(./config.guess) --mandir=/usr/share/man --with-manpage-format=normal --with-shared --without-debug --without-ada --without-normal --enable-widec --with-pkg-config-libdir=/usr/lib/ncurses//lib/pkgconfig
./configure --prefix=/ --build=$(./config.guess) --mandir=//share/man --with-manpage-format=normal --with-shared --without-debug --without-ada --without-normal --enable-widec --with-pkg-config-libdir=//lib/ncurses//lib/pkgconfig
make
make DESTDIR="$1" install
ln -s $1/usr/lib/ncurses/bin/captoinfo $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/clear $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/infocmp $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/infotocap $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/ncurses6-config $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/reset $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/tabs $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/tic $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/toe $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/tput $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/tset $1/usr/bin/
ln -s $1/usr/lib/ncurses/include/ncurses $1/usr/include
ln -s $1/usr/lib/ncurses/lib/libform.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libform_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libform.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libform.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libform.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses++.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses++_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/terminfo $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/form.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/menu.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/ncurses++.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/ncurses.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/panel.pc $1/usr/lib/pkgconfig/
echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so
ln -s $1//lib/ncurses/bin/captoinfo $1//bin/
ln -s $1//lib/ncurses/bin/clear $1//bin/
ln -s $1//lib/ncurses/bin/infocmp $1//bin/
ln -s $1//lib/ncurses/bin/infotocap $1//bin/
ln -s $1//lib/ncurses/bin/ncurses6-config $1//bin/
ln -s $1//lib/ncurses/bin/reset $1//bin/
ln -s $1//lib/ncurses/bin/tabs $1//bin/
ln -s $1//lib/ncurses/bin/tic $1//bin/
ln -s $1//lib/ncurses/bin/toe $1//bin/
ln -s $1//lib/ncurses/bin/tput $1//bin/
ln -s $1//lib/ncurses/bin/tset $1//bin/
ln -s $1//lib/ncurses/include/ncurses $1//include
ln -s $1//lib/ncurses/lib/libform.a $1//lib/
ln -s $1//lib/ncurses/lib/libform_g.a $1//lib/
ln -s $1//lib/ncurses/lib/libform.so $1//lib/
ln -s $1//lib/ncurses/lib/libform.so.6 $1//lib/
ln -s $1//lib/ncurses/lib/libform.so.6.1 $1//lib/
ln -s $1//lib/ncurses/lib/libmenu.a $1//lib/
ln -s $1//lib/ncurses/lib/libmenu_g.a $1//lib/
ln -s $1//lib/ncurses/lib/libmenu.so $1//lib/
ln -s $1//lib/ncurses/lib/libmenu.so.6 $1//lib/
ln -s $1//lib/ncurses/lib/libmenu.so.6.1 $1//lib/
ln -s $1//lib/ncurses/lib/libncurses++.a $1//lib/
ln -s $1//lib/ncurses/lib/libncurses.a $1//lib/
ln -s $1//lib/ncurses/lib/libncurses++_g.a $1//lib/
ln -s $1//lib/ncurses/lib/libncurses_g.a $1//lib/
ln -s $1//lib/ncurses/lib/libncurses.so $1//lib/
ln -s $1//lib/ncurses/lib/libncurses.so.6 $1//lib/
ln -s $1//lib/ncurses/lib/libncurses.so.6.1 $1//lib/
ln -s $1//lib/ncurses/lib/libpanel.a $1//lib/
ln -s $1//lib/ncurses/lib/libpanel_g.a $1//lib/
ln -s $1//lib/ncurses/lib/libpanel.so $1//lib/
ln -s $1//lib/ncurses/lib/libpanel.so.6 $1//lib/
ln -s $1//lib/ncurses/lib/libpanel.so.6.1 $1//lib/
ln -s $1//lib/ncurses/lib/terminfo $1//lib/
ln -s $1//lib/ncurses/lib/pkgconfig/form.pc $1//lib/pkgconfig/
ln -s $1//lib/ncurses/lib/pkgconfig/menu.pc $1//lib/pkgconfig/
ln -s $1//lib/ncurses/lib/pkgconfig/ncurses++.pc $1//lib/pkgconfig/
ln -s $1//lib/ncurses/lib/pkgconfig/ncurses.pc $1//lib/pkgconfig/
ln -s $1//lib/ncurses/lib/pkgconfig/panel.pc $1//lib/pkgconfig/
echo "INPUT(-lncursesw)" > $1//lib/libncurses.so

9
gettext/build Executable file
View file

@ -0,0 +1,9 @@
wget https://ftp.gnu.org/pub/gnu/gettext/gettext-0.21.tar.gz
tar -xf gettext-0.21.tar.gz
cd gettext-0.21
./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/gettext-0.20.1
make
make DESTDIR="$1"
chmod -v 0755 /usr/lib/preloadable_libintl.so

5
gettext/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="0.21"
pkg_config_name="gettext"
pkg_config_makedepends=""
pkg_config_depends=""

7
gperf/build Executable file
View file

@ -0,0 +1,7 @@
wget http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz
tar -xf gperf-3.1.tar.gz
cd gperf-3.1
./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1
make
make DESTDIR="$1" install

5
gperf/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="3.1"
pkg_config_name="gperf"
pkg_config_makedepends=""
pkg_config_depends=""

10
intltool/build Executable file
View file

@ -0,0 +1,10 @@
wget https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
tar -xf intltool-0.51.0.tar.gz
cd intltool-0.51.0
sed -i 's:\\\${:\\\$\\{:' intltool-update.in
./configure --prefix=/usr
make
make DESTDIR="$1" install
install -v -Dm644 doc/I18N-HOWTO $1/usr/share/doc/intltool-0.51.0/I18N-HOWTO

5
intltool/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="0.51.0"
pkg_config_name="intltool"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,6 +1,6 @@
wget https://github.com/glennrp/libpng/archive/v1.6.37.tar.gz
tar -xf v1.6.37.tar.gz
cd v1.6.37
cd libpng-1.6.37
make
make DESTDIR="$1" install
make DESTDIR="$1" install

7
libtool/build Executable file
View file

@ -0,0 +1,7 @@
wget https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
tar -xf libtool-2.4.6.tar.xz
cd libtool-2.4.6
./configure --prefix=/usr
make
make DESTDIR="$1" install

5
libtool/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="2.4.6"
pkg_config_name="libtool"
pkg_config_makedepends=""
pkg_config_depends=""

29
libudev/build Executable file
View file

@ -0,0 +1,29 @@
wget https://ftp.osuosl.org/pub/lfs/lfs-packages/8.2/udev-lfs-20171102.tar.bz2 udev.tar.bz2
tar -xf udev.tar.bz2 udev
cd udev
install -dv $1/lib/{firmware,udev/devices/pts}
mknod -m0666 $1/lib/udev/devices/null c 1 3
BLKID_CFLAGS="-I/usr/include/blkid" \
BLKID_LIBS="-L/lib -lblkid" \
KMOD_CFLAGS="-I/usr/include" \
KMOD_LIBS="-L/lib -lkmod" \
./configure --prefix=/usr \
--with-rootprefix='' \
--bindir=/sbin \
--sysconfdir=/etc \
--libexecdir=/lib \
--enable-rule_generator \
--disable-introspection \
--disable-keymap \
--disable-gudev \
--with-usb-ids-path=no \
--with-pci-ids-path=no \
--with-systemdsystemunitdir=no
make
make DESTDIR="$1" install
rm -rfv $1/usr/share/doc/udev
cd udev-config-20100128
make DESTDIR="$1" install
make DESTDIR="$1" install-doc

5
libudev/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="0.1"
pkg_config_name="libudev"
pkg_config_makedepends=""
pkg_config_depends=""

26
mesa/build Executable file
View file

@ -0,0 +1,26 @@
wget https://archive.mesa3d.org//mesa-21.2.0-rc1.tar.xz
tar -xf mesa-21.2.0-rc1.tar.xz
cd mesa-21.2.0-rc1
sed '1s/python/&3/' -i bin/symbols-check.py
GALLIUM_DRV="i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
DRI_DRIVERS="i965,nouveau"
mkdir build
cd build
meson --prefix=$XORG_PREFIX \
--buildtype=release \
-Ddri-drivers=$DRI_DRIVERS \
-Dgallium-drivers=$GALLIUM_DRV \
-Dgallium-nine=false \
-Dglx=dri \
-Dvalgrind=disabled \
-Dlibunwind=disabled \
..
unset GALLIUM_DRV DRI_DRIVERS &&
ninja
ninja install
install -v -dm755 $1/usr/share/doc/mesa-21.1.4
cp -rfv ../docs/* $1/usr/share/doc/mesa-21.1.4

5
mesa/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="21.1.5"
pkg_config_name="mesa"
pkg_config_makedepends="python"
pkg_config_depends=""

7
mtdev/build Executable file
View file

@ -0,0 +1,7 @@
wget https://bitmath.org/code/mtdev/mtdev-1.1.6.tar.bz2
tar -xf mtdev-1.1.6.tar.bz2
cd mtdev-1.1.6
./configure --prefix=/usr --disable-static
make
make DESTDIR="$1" install

5
mtdev/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="1.1.6"
pkg_config_name="mtdev"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,5 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="1.10.2"
pkg_config_name="ninja"
pkg_config_makedepends=""
pkg_config_makedepends="python"
pkg_config_depends=""

View file

@ -1,7 +0,0 @@
wget -O openrc-0.43.3.tar.gz https://github.com/OpenRC/openrc/archive/refs/tags/0.43.3.tar.gz
tar -xf openrc-0.43.3.tar.gz
cd openrc-0.43.3
make
make install BRANDING=\"Alnux/$(uname -s)\" SH=/bin/sh DESTDIR="$1"/sbin/openrc PREFIX="$1"
cat tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=20G,mode=1777 0 0 > "$1"/etc/fstab

View file

@ -1,5 +0,0 @@
pkg_config_deploy=true
pkg_config_ver="0.43.3"
pkg_config_name="openrc"
pkg_config_makedepends=""
pkg_config_depends="make"

22
perl/build Executable file
View file

@ -0,0 +1,22 @@
wget https://www.cpan.org/src/5.0/perl-5.34.0.tar.gz
tar -xf perl-5.34.0.tar.gz
cd perl-5.34.0
if [ ! -f $1/etc/hosts ]; then
echo "127.0.0.1 localhost $(hostname)" > $1/etc/hosts
else
#do nothing
fi
export BUILD_ZLIB=False
export BUILD_BZIP2=0
sh Configure -des -Dprefix=/usr \
-Dvendorprefix=/usr \
-Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 \
-Dpager="/usr/bin/less -isR" \
-Duseshrplib \
-Dusethreads
make
make DESTDIR="$1" install

5
perl/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="5.34.0"
pkg_config_name="perl"
pkg_config_makedepends="zlib bzip2"
pkg_config_depends=""

7
pkg-config-fd/build Executable file
View file

@ -0,0 +1,7 @@
wget https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
tar -xf pkg-config-0.29.2.tar.gz
cd pkg-config-0.29.2
./configure --prefix=/usr --with-internal-glib --disable-host-tool --docdir=/usr/share/doc/pkg-config-0.29.2
make
make DESTDIR="$1" install

5
pkg-config-fd/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="0.29.2"
pkg_config_name="pkg-config-fd"
pkg_config_makedepends=""
pkg_config_depends=""

12
python/build Executable file
View file

@ -0,0 +1,12 @@
wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tar.xz
tar -xf Python-3.9.6.tar.xz
cd Python-3.9.6
CXX="/usr/bin/g++" \
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--with-ensurepip=yes
make
make DESTDIR="$1" install

5
python/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="3.9.6"
pkg_config_name="python"
pkg_config_makedepends="gcc"
pkg_config_depends=""

7
talloc-lib/build Executable file
View file

@ -0,0 +1,7 @@
wget https://www.samba.org/ftp/talloc/talloc-2.3.3.tar.gz
tar -xf talloc-2.3.3.tar.gz
cd talloc-2.3.3
./configure --prefix=/usr
make
make DESTDIR="$1" install

5
talloc-lib/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="2.3.3"
pkg_config_name="talloc-lib"
pkg_config_makedepends=""
pkg_config_depends=""