new: migrated more packages
This commit is contained in:
parent
a7dfd49ab5
commit
2b4d7c7d6e
3
src/libpipeline/.gitignore
vendored
Normal file
3
src/libpipeline/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libpipeline/changes.md
Normal file
2
src/libpipeline/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.5.7
|
||||
First version
|
23
src/libpipeline/pkg.sh
Normal file
23
src/libpipeline/pkg.sh
Normal file
@ -0,0 +1,23 @@
|
||||
# general info
|
||||
NAME="libpipeline"
|
||||
DESC="Pipeline manipulation library"
|
||||
VERSION="1.5.7"
|
||||
|
||||
# required files
|
||||
FILES=("https://download.savannah.gnu.org/releases/libpipeline/libpipeline-${VERSION}.tar.gz")
|
||||
HASHES=("1a48b5771b9f6c790fb4efdb1ac71342")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.gz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/libpsl/.gitignore
vendored
Normal file
3
src/libpsl/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libpsl/changes.md
Normal file
2
src/libpsl/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 0.21.5
|
||||
First version
|
26
src/libpsl/pkg.sh
Normal file
26
src/libpsl/pkg.sh
Normal file
@ -0,0 +1,26 @@
|
||||
# general info
|
||||
NAME="libpsl"
|
||||
DESC="C library for the Public Suffix List"
|
||||
VERSION="0.21.5"
|
||||
|
||||
# required files
|
||||
FILES=("https://github.com/rockdaboot/libpsl/releases/download/${VERSION}/libpsl-${VERSION}.tar.gz")
|
||||
HASHES=("870a798ee9860b6e77896548428dba7b")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("libidn2" "libunistring")
|
||||
BUILD=("python3" "libxslt")
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.gz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
meson setup --prefix=/usr --buildtype=release
|
||||
ninja
|
||||
DESTDIR="${ROOTDIR}" ninja install
|
||||
|
||||
cd ../.. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/libssh2/.gitignore
vendored
Normal file
3
src/libssh2/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libssh2/changes.md
Normal file
2
src/libssh2/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.11.0
|
||||
First version
|
23
src/libssh2/pkg.sh
Normal file
23
src/libssh2/pkg.sh
Normal file
@ -0,0 +1,23 @@
|
||||
# general info
|
||||
NAME="libssh2"
|
||||
DESC="Client-side C library implementing the SSH2 protocol"
|
||||
VERSION="1.11.0"
|
||||
|
||||
# required files
|
||||
FILES=("https://www.libssh2.org/download/libssh2-${VERSION}.tar.gz")
|
||||
HASHES=("3736161e41e2693324deb38c26cfdc3efe6209d634ba4258db1cecff6a5ad461")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("openssl" "zlib")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.gz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr --disable-docker-tests
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/libtasn1/.gitignore
vendored
Normal file
3
src/libtasn1/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libtasn1/changes.md
Normal file
2
src/libtasn1/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 4.19.0
|
||||
First version
|
24
src/libtasn1/pkg.sh
Normal file
24
src/libtasn1/pkg.sh
Normal file
@ -0,0 +1,24 @@
|
||||
# general info
|
||||
NAME="libtasn1"
|
||||
DESC="ASN.1 library"
|
||||
VERSION="4.19.0"
|
||||
|
||||
# required files
|
||||
FILES=("https://ftp.gnu.org/gnu/libtasn1/libtasn1-${VERSION}.tar.gz")
|
||||
HASHES=("f701ab57eb8e7d9c105b2cd5d809b29a")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.gz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr --disable-static
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
make DESTDIR="${ROOTDIR}" -C doc/reference install-data-local
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/libtirpc/.gitignore
vendored
Normal file
3
src/libtirpc/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libtirpc/changes.md
Normal file
2
src/libtirpc/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.3.5
|
||||
First version
|
26
src/libtirpc/pkg.sh
Normal file
26
src/libtirpc/pkg.sh
Normal file
@ -0,0 +1,26 @@
|
||||
# general info
|
||||
NAME="libtirpc"
|
||||
DESC="Port of Suns Transport-Independent RPC library to Linux"
|
||||
VERSION="1.3.4"
|
||||
|
||||
# required files
|
||||
FILES=("https://downloads.sourceforge.net/libtirpc/libtirpc-${VERSION}.tar.bz2")
|
||||
HASHES=("004e61b5853717324790c46cda5ff227d525909f189194ae72a1ec8f476ca35d7f4c1f03c0fbc690c1696d60a212675b09246dbe627fdbf1a9a47f5664e82b00")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.bz2"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--disable-gssapi
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/libtool/.gitignore
vendored
Normal file
3
src/libtool/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libtool/changes.md
Normal file
2
src/libtool/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 2.4.7
|
||||
First version
|
24
src/libtool/pkg.sh
Normal file
24
src/libtool/pkg.sh
Normal file
@ -0,0 +1,24 @@
|
||||
# general info
|
||||
NAME="libtool"
|
||||
DESC="GNU portable library tool"
|
||||
VERSION="2.4.7"
|
||||
|
||||
# required files
|
||||
FILES=("https://ftp.gnu.org/gnu/libtool/libtool-${VERSION}.tar.xz")
|
||||
HASHES=("2fc0b6ddcd66a89ed6e45db28fa44232")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=()
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
rm -fv "${ROOTDIR}/usr/lib/libltdl.a"
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/libunistring/.gitignore
vendored
Normal file
3
src/libunistring/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libunistring/changes.md
Normal file
2
src/libunistring/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.2
|
||||
First version
|
25
src/libunistring/pkg.sh
Normal file
25
src/libunistring/pkg.sh
Normal file
@ -0,0 +1,25 @@
|
||||
# general info
|
||||
NAME="libunistring"
|
||||
DESC="Functions for manipulating Unicode strings"
|
||||
VERSION="1.2"
|
||||
|
||||
# required files
|
||||
FILES=("https://ftp.gnu.org/gnu/libunistring/libunistring-${VERSION}.tar.xz")
|
||||
HASHES=("632bd65ed74a881ca8a0309a1001c428bd1cbd5cd7ddbf8cedcd2e65f4dcdc44")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--docdir="/usr/share/doc/libunistring-${VERSION}"
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/libxcrypt/.gitignore
vendored
Normal file
3
src/libxcrypt/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libxcrypt/changes.md
Normal file
2
src/libxcrypt/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 4.4.36
|
||||
First version
|
27
src/libxcrypt/pkg.sh
Normal file
27
src/libxcrypt/pkg.sh
Normal file
@ -0,0 +1,27 @@
|
||||
# general info
|
||||
NAME="libxcrypt"
|
||||
DESC="Extended crypt library for descrypt, md5crypt, bcrypt, and others"
|
||||
VERSION="4.4.36"
|
||||
|
||||
# required files
|
||||
FILES=("https://github.com/besser82/libxcrypt/releases/download/v${VERSION}/libxcrypt-${VERSION}.tar.xz")
|
||||
HASHES=("b84cd4104e08c975063ec6c4d0372446")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=no \
|
||||
--disable-static \
|
||||
--disable-failure-tokens
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/libxml2/.gitignore
vendored
Normal file
3
src/libxml2/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libxml2/changes.md
Normal file
2
src/libxml2/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 2.13.2
|
||||
First version
|
36
src/libxml2/pkg.sh
Normal file
36
src/libxml2/pkg.sh
Normal file
@ -0,0 +1,36 @@
|
||||
# general info
|
||||
NAME="libxml2"
|
||||
DESC="XML parser and toolkit"
|
||||
VERSION="2.13.3"
|
||||
|
||||
# required files
|
||||
FILES=("https://download.gnome.org/sources/libxml2/${VERSION%.*}/libxml2-${VERSION}.tar.xz")
|
||||
HASHES=("0805d7c180cf09caad71666c7a458a74f041561a532902454da5047d83948138")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=(
|
||||
"bash" "glibc" "icu"
|
||||
"ncurses" "readline" "xz"
|
||||
"zlib" "python3"
|
||||
)
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--with-history \
|
||||
--with-icu \
|
||||
PYTHON=/usr/bin/python3 \
|
||||
--docdir="/usr/share/doc/libxml2-${VERSION}"
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
rm -vf "${ROOTDIR}/usr/lib/libxml2.la"
|
||||
sed '/libs=/s/xml2.*/xml2"/' -i "${ROOTDIR}/usr/bin/xml2-config"
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/libxslt/.gitignore
vendored
Normal file
3
src/libxslt/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/libxslt/changes.md
Normal file
2
src/libxslt/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.1.42
|
||||
First version
|
29
src/libxslt/pkg.sh
Normal file
29
src/libxslt/pkg.sh
Normal file
@ -0,0 +1,29 @@
|
||||
# general info
|
||||
NAME="libxslt"
|
||||
DESC="XSLT processor"
|
||||
VERSION="1.1.42"
|
||||
|
||||
# required files
|
||||
FILES=("https://download.gnome.org/sources/libxslt/${VERSION%.*}/libxslt-${VERSION}.tar.xz")
|
||||
HASHES=("85ca62cac0d41fc77d3f6033da9df6fd73d20ea2fc18b0a3609ffb4110e1baeb")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=(
|
||||
"bash" "glibc" "libgcrypt"
|
||||
"libxml2" "xz" "python3"
|
||||
)
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--docdir="/usr/share/doc/libxslt-${VERSION}" \
|
||||
PYTHON=/usr/bin/python3
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
3
src/linux-pam/.gitignore
vendored
Normal file
3
src/linux-pam/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/linux-pam/changes.md
Normal file
2
src/linux-pam/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.6.1
|
||||
First version
|
4
src/linux-pam/other
Normal file
4
src/linux-pam/other
Normal file
@ -0,0 +1,4 @@
|
||||
auth required pam_unix.so nullok
|
||||
account required pam_unix.so
|
||||
session required pam_unix.so
|
||||
password required pam_unix.so nullok
|
63
src/linux-pam/pkg.sh
Normal file
63
src/linux-pam/pkg.sh
Normal file
@ -0,0 +1,63 @@
|
||||
# general info
|
||||
NAME="linux-pam"
|
||||
DESC="Pluggable Authentication Modules for Linux "
|
||||
VERSION="1.6.1"
|
||||
|
||||
# required files
|
||||
FILES=(
|
||||
"https://github.com/linux-pam/linux-pam/releases/download/v${VERSION}/Linux-PAM-${VERSION}.tar.xz"
|
||||
"https://github.com/linux-pam/linux-pam/releases/download/v${VERSION}/Linux-PAM-${VERSION}-docs.tar.xz"
|
||||
"other"
|
||||
"system-account"
|
||||
"system-auth"
|
||||
"system-password"
|
||||
"system-session"
|
||||
"system-login"
|
||||
)
|
||||
HASHES=(
|
||||
"f8923c740159052d719dbfc2a2f81942d68dd34fcaf61c706a02c9b80feeef8e"
|
||||
"fd7b13b9993c94677e78e84d12387b8da104b5ba668eda3f17360abe4277e79c"
|
||||
"f687c87c8e70703d35658446d37a592ef9d5b5b87b4fb769764f501917d7c428"
|
||||
"a8295e4780b323cac83ca08c65c8cd47ca26e516d64ed857fd3f4ac1f1a8ccc4"
|
||||
"da912d0b5fe0ee9d70403ca88402974f2c24b6dfeb2c8adc037c72297a859590"
|
||||
"29ef099774837bf3fe01ef6b22fc87ac55bf222a4c0f8544d007f57b6aa4b61a"
|
||||
"5fbb7220de9d119e4e5551862ea516134ffc62d1b0695fe063add2774983753d"
|
||||
"41914ae772cced15ed195b97dc779a76175f639d27195ce59c1d300670505799"
|
||||
)
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=(
|
||||
"libtirpc" "glibc" "libxcrypt"
|
||||
"libxcrypt" "libnsl"
|
||||
)
|
||||
BUILD=("flex")
|
||||
|
||||
build(){
|
||||
tar xf "Linux-PAM-${VERSION}.tar.xz"
|
||||
cd "Linux-PAM-${VERSION}"
|
||||
|
||||
tar -xf "${ROOTDIR}/Linux-PAM-${VERSION}-docs.tar.xz" --strip-components=1
|
||||
sed -e /service_DATA/d \
|
||||
-i modules/pam_namespace/Makefile.am
|
||||
autoreconf
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sbindir=/usr/sbin \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/usr/lib \
|
||||
--enable-securedir=/usr/lib/security \
|
||||
--docdir="/usr/share/doc/Linux-PAM-${VERSION}"
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
install -dm755 "${ROOTDIR}/etc/pam.d"
|
||||
|
||||
install -m644 "${ROOTDIR}/other" "${ROOTDIR}/etc/pam.d"
|
||||
install -m644 "${ROOTDIR}/system-account" "${ROOTDIR}/etc/pam.d"
|
||||
install -m644 "${ROOTDIR}/system-auth" "${ROOTDIR}/etc/pam.d"
|
||||
install -m644 "${ROOTDIR}/system-session" "${ROOTDIR}/etc/pam.d"
|
||||
install -m644 "${ROOTDIR}/system-password" "${ROOTDIR}/etc/pam.d"
|
||||
install -m644 "${ROOTDIR}/system-login" "${ROOTDIR}/etc/pam.d"
|
||||
|
||||
cd .. && rm -r "Linux-PAM-${VERSION}"
|
||||
}
|
5
src/linux-pam/system-account
Normal file
5
src/linux-pam/system-account
Normal file
@ -0,0 +1,5 @@
|
||||
# Begin /etc/pam.d/system-account
|
||||
|
||||
account required pam_unix.so
|
||||
|
||||
# End /etc/pam.d/system-account
|
5
src/linux-pam/system-auth
Normal file
5
src/linux-pam/system-auth
Normal file
@ -0,0 +1,5 @@
|
||||
# Begin /etc/pam.d/system-auth
|
||||
|
||||
auth required pam_unix.so
|
||||
|
||||
# End /etc/pam.d/system-auth
|
20
src/linux-pam/system-login
Normal file
20
src/linux-pam/system-login
Normal file
@ -0,0 +1,20 @@
|
||||
#%PAM-1.0
|
||||
|
||||
#auth required pam_shells.so
|
||||
auth requisite pam_nologin.so
|
||||
auth include system-auth
|
||||
|
||||
account required pam_access.so
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
|
||||
password include system-auth
|
||||
|
||||
session optional pam_loginuid.so
|
||||
session optional pam_keyinit.so force revoke
|
||||
session include system-auth
|
||||
session optional pam_motd.so
|
||||
session optional pam_mail.so dir=/var/spool/mail standard quiet
|
||||
session optional pam_umask.so
|
||||
-session optional pam_systemd.so
|
||||
session required pam_env.so
|
8
src/linux-pam/system-password
Normal file
8
src/linux-pam/system-password
Normal file
@ -0,0 +1,8 @@
|
||||
# Begin /etc/pam.d/system-password
|
||||
|
||||
# use yescrypt hash for encryption, use shadow, and try to use any
|
||||
# previously defined authentication token (chosen password) set by any
|
||||
# prior module.
|
||||
password required pam_unix.so yescrypt shadow try_first_pass
|
||||
|
||||
# End /etc/pam.d/system-password
|
5
src/linux-pam/system-session
Normal file
5
src/linux-pam/system-session
Normal file
@ -0,0 +1,5 @@
|
||||
# Begin /etc/pam.d/system-session
|
||||
|
||||
session required pam_unix.so
|
||||
|
||||
# End /etc/pam.d/system-session
|
3
src/linux/.gitignore
vendored
Normal file
3
src/linux/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/linux/changes.md
Normal file
2
src/linux/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 6.10.1
|
||||
First version
|
5372
src/linux/config
Normal file
5372
src/linux/config
Normal file
File diff suppressed because it is too large
Load Diff
38
src/linux/pkg.sh
Normal file
38
src/linux/pkg.sh
Normal file
@ -0,0 +1,38 @@
|
||||
# general info
|
||||
NAME="linux"
|
||||
DESC="The libre linux kernel"
|
||||
VERSION="6.10.1"
|
||||
|
||||
# required files
|
||||
FILES=(
|
||||
"https://linux-libre.fsfla.org/pub/linux-libre/releases/${VERSION}-gnu/linux-libre-${VERSION}-gnu.tar.xz"
|
||||
"config"
|
||||
)
|
||||
HASHES=(
|
||||
"9db76fe0261f05e4c79f4dcb33298a667e7c42a5cb2306f4b013eddc401fdced"
|
||||
"11c2b7a27e3d3b608f10a11e8ec0497ffc40d75f15f9c7e168cc7ee900906aef"
|
||||
)
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=()
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "linux-${VERSION}"
|
||||
|
||||
cp "${ROOTDIR}/config" .config
|
||||
mkdir -pv "${ROOTDIR}/"{boot,usr}
|
||||
|
||||
make
|
||||
make INSTALL_MOD_PATH="${ROOTDIR}/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
cp -iv arch/x86/boot/bzImage "${ROOTDIR}/boot/vmlinuz-linux"
|
||||
|
||||
make mrproper
|
||||
make headers
|
||||
|
||||
find usr/include -type f ! -name '*.h' -delete
|
||||
cp -rv usr/include "${ROOTDIR}/usr"
|
||||
|
||||
cd .. && rm -r "linux-${VERSION}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user