update: move lfs/* to lfs-12.2-systemd/
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
pkgname=acl
|
||||
pkgver=2.3.2
|
||||
pkgdesc='Access control list utilities, libraries and headers'
|
||||
homepage='https://savannah.nongnu.org/projects/acl'
|
||||
license=('LGPL')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://download.savannah.gnu.org/releases/${pkgname}/${sources[0]}")
|
||||
md5sums=("590765dee95907dbc3c856f7255bd669")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
pkgname=attr
|
||||
pkgver=2.5.2
|
||||
pkgrel=1
|
||||
pkgdesc='Extended attribute support library for ACL support'
|
||||
arch=('x86_64')
|
||||
url='https://savannah.nongnu.org/projects/attr'
|
||||
license=('LGPL')
|
||||
depends=('glibc')
|
||||
makedepends=('gettext')
|
||||
replaces=('xfsattr')
|
||||
provides=('xfsattr' 'libattr.so')
|
||||
conflicts=('xfsattr')
|
||||
backup=('etc/xattr.conf')
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://download.savannah.gnu.org/releases/${pkgname}/${sources[0]}")
|
||||
md5sums=("227043ec2f6ca03c0948df5517f9c927")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
sed -i '/nfs/d' xattr.conf
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--sysconfdir=/etc \
|
||||
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
pkgname=bc
|
||||
pkgver=6.7.6
|
||||
pkgdesc='An arbitrary precision calculator language'
|
||||
homepage="https://git.gavinhoward.com/gavin/bc"
|
||||
license=('GPL-3.0-only')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://github.com/gavinhoward/bc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
||||
md5sums=("a47aa5e4e7395fbcd159a9228613b97b")
|
||||
|
||||
options=(!strip)
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
CFLAGS+=" -O3 -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" \
|
||||
CC=gcc \
|
||||
./configure --prefix=/usr -G -r
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
pkgname=binutils
|
||||
pkgver=2.43.1
|
||||
pkgdesc='A set of programs to assemble and manipulate binary and object files'
|
||||
homepage='https://www.gnu.org/software/binutils/'
|
||||
license=(GPL-2.0-or-later GPL-3.0-or-later LGPL-2.0-or-later LGPL-3.0-or-later GFDL-1.3 FSFAP)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://sourceware.org/pub/binutils/releases/${sources[0]}")
|
||||
md5sums=("9202d02925c30969d1917e4bad5a2320")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
mkdir -v build
|
||||
cd build
|
||||
}
|
||||
|
||||
src_build() {
|
||||
../configure --prefix=/usr \
|
||||
--sysconfdir="${pkgdir}"/etc \
|
||||
--with-lib-path=/usr/lib:/usr/local/lib \
|
||||
--enable-gold \
|
||||
--enable-ld=default \
|
||||
--enable-plugins \
|
||||
--enable-shared \
|
||||
--disable-werror \
|
||||
--enable-64-bit-bfd \
|
||||
--enable-new-dtags \
|
||||
--with-system-zlib \
|
||||
--enable-default-hash-style=gnu
|
||||
make tooldir=/usr
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make -k CFLAGS_FOR_TARGET="-O2 -g" \
|
||||
CXXFLAGS="-O2 -no-pie -fno-PIC" \
|
||||
CFLAGS="-O2 -no-pie" \
|
||||
LDFLAGS="" \
|
||||
check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make prefix="${pkgdir}"/usr tooldir="${pkgdir}"/usr install
|
||||
rm -fv "${pkgdir}"/usr/lib/lib{bfd,ctf,ctf-nobfd,gprofng,opcodes,sframe}.a
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
pkgname=dejagnu
|
||||
pkgver=1.6.3
|
||||
pkgdesc='Framework for testing other programs'
|
||||
homepage='https://www.gnu.org/software/dejagnu/'
|
||||
license=(GPL)
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=(https://ftp.gnu.org/gnu/dejagnu/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=("68c5208c58236eba447d7d6d1326b821")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
mkdir -v build
|
||||
cd build
|
||||
}
|
||||
|
||||
src_build() {
|
||||
../configure --prefix=/usr
|
||||
makeinfo --html --no-split -o doc/dejagnu.html ../doc/dejagnu.texi
|
||||
makeinfo --plaintext -o doc/dejagnu.txt ../doc/dejagnu.texi
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -v -dm755 "${pkgdir}/usr/share/doc/dejagnu-${pkgver}"
|
||||
install -v -m644 doc/dejagnu.{html,txt} "${pkgdir}/usr/share/doc/dejagnu-${pkgver}"
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
pkgname=expect
|
||||
pkgver=5.45.4
|
||||
pkgdesc='A tool for automating interactive applications'
|
||||
homepage='https://www.nist.gov/el/msid/expect.cfm'
|
||||
license=(custom)
|
||||
sources=("${pkgname}${pkgver}.tar.gz"
|
||||
"expect-5.45.4-gcc14-1.patch"
|
||||
)
|
||||
urls=("https://prdownloads.sourceforge.net/expect/expect${pkgver}.tar.gz"
|
||||
"https://www.linuxfromscratch.org/patches/lfs/12.2/expect-5.45.4-gcc14-1.patch"
|
||||
)
|
||||
md5sums=("00fce8de158422f5ccd2666512329bd2"
|
||||
"0b8b5ac411d011263ad40b0664c669f0"
|
||||
)
|
||||
|
||||
|
||||
src_prepare() {
|
||||
if ! python3 -c 'from pty import spawn; spawn(["echo", "ok"])'; then
|
||||
leaf_error "PTY issue. Cannot build."
|
||||
fi
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
patch -Np1 -i ${DIST_DIR}/${pkgname}-${pkgver}/${sources[1]}
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--with-tcl=/usr/lib \
|
||||
--enable-shared \
|
||||
--disable-rpath \
|
||||
--mandir=/usr/share/man \
|
||||
--with-tclinclude=/usr/include
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
ln -svf expect5.45.4/libexpect5.45.4.so "${pkgdir}/usr/lib"
|
||||
|
||||
install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/README"
|
||||
# avoid file conflict with the more powerful mkpasswd from the whois package
|
||||
mv -v "$pkgdir"/usr/bin/mkpasswd{,-expect}
|
||||
mv -v "$pkgdir"/usr/share/man/man1/mkpasswd{,-expect}.1
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
pkgname=file
|
||||
pkgver=5.45
|
||||
pkgdesc='File type identification utility'
|
||||
license=('custom')
|
||||
homepage='https://www.darwinsys.com/file/'
|
||||
sources=("$pkgname-$pkgver.tar.gz")
|
||||
urls=("https://astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz")
|
||||
md5sums=("26b2a96d4e3a8938827a1e572afd527a")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
pkgname=flex
|
||||
pkgver=2.6.4
|
||||
pkgdesc="A tool for generating text-scanning programs"
|
||||
url="https://github.com/westes/flex"
|
||||
license=('custom')
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=(
|
||||
"https://github.com/westes/flex/releases/download/v$pkgver/flex-$pkgver.tar.gz"
|
||||
)
|
||||
md5sums=("2882e3179748cc9f9c23ec593d6adc8d")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--docdir=/usr/share/doc/flex-2.6.4 \
|
||||
--disable-static
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
ln -sv flex "${pkgdir}/usr/bin/lex"
|
||||
ln -sv flex.1 "${pkgdir}/usr/share/man/man1/lex.1"
|
||||
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
pkgname=gmp
|
||||
pkgver=6.3.0
|
||||
pkgdesc='A free library for arbitrary precision arithmetic'
|
||||
homepage='https://gmplib.org/'
|
||||
license=(GPL-2.0-or-later
|
||||
LGPL-3.0-or-later)
|
||||
sources=(gmp-$pkgver.tar.xz)
|
||||
urls=("https://ftp.gnu.org/gnu/gmp/${sources[0]}")
|
||||
md5sums=("956dc04e864001a9c22429f761f2c283")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--enable-cxx \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/gmp-6.3.0
|
||||
make
|
||||
make html
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
make DESTDIR="$pkgdir" install-html
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
pkgname=libcap
|
||||
pkgver=2.70
|
||||
pkgdesc="POSIX 1003.1e capabilities"
|
||||
homepage="https://sites.google.com/site/fullycapable/"
|
||||
license=('BSD-3-Clause OR GPL-2.0-only')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${sources[0]}")
|
||||
md5sums=("df0e20c6eeca849347b87d5d6a8870c0")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
sed -i '/install -m.*STA/d' libcap/Makefile
|
||||
}
|
||||
|
||||
src_build() {
|
||||
make prefix=/usr lib=lib
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make prefix=/usr lib=lib DESTDIR="${pkgdir}" install
|
||||
install -vDm 644 License -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
pkgname=libxcrypt
|
||||
pkgver=4.4.36
|
||||
pkgdesc='Modern library for one-way hashing of passwords'
|
||||
homepage='https://github.com/besser82/libxcrypt/'
|
||||
license=('LGPL')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("${homepage}/releases/download/v${pkgver}/${sources[0]}")
|
||||
md5sums=("b84cd4104e08c975063ec6c4d0372446")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=no \
|
||||
--disable-static \
|
||||
--disable-failure-tokens
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
pkgname=libxcrypt-compat
|
||||
_pkgbase=libxcrypt
|
||||
pkgver=4.4.36
|
||||
pkgdesc='Modern library for one-way hashing of passwords - legacy API functions'
|
||||
homepage='https://github.com/besser82/libxcrypt/'
|
||||
license=('LGPL')
|
||||
sources=("${_pkgbase}-${pkgver}.tar.xz")
|
||||
urls=("${homepage}/releases/download/v${pkgver}/${sources[0]}")
|
||||
md5sums=("b84cd4104e08c975063ec6c4d0372446")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc \
|
||||
--disable-static \
|
||||
--disable-failure-tokens
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -rf "${pkgdir}"/usr/{include,lib/{lib*.so,pkgconfig},share}
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
pkgname="lz4"
|
||||
pkgver="1.10.0"
|
||||
pkgdesc='Extremely fast compression algorithm'
|
||||
homepage="https://lz4.org/"
|
||||
license=('GPL-2.0-or-later')
|
||||
sources=("lz4-1.10.0.tar.gz")
|
||||
urls=("https://github.com/lz4/lz4/releases/download/v1.10.0/lz4-1.10.0.tar.gz")
|
||||
md5sums=("dead9f5f1966d9ae56e1e32761e4e675")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
make BUILD_STATIC=no PREFIX=/usr
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make BUILD_STATIC=no PREFIX="${pkgdir}/usr" install
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
pkgname=m4
|
||||
pkgver=1.4.19
|
||||
pkgdesc="The GNU macro processor"
|
||||
homepage="https://www.gnu.org/software/m4"
|
||||
license=('GPL3')
|
||||
sources=("$pkgname-$pkgver.tar.xz")
|
||||
urls=("https://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz")
|
||||
md5sums=("0d90823e1426f1da2fd872df0311298d")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make prefix="${pkgdir}"/usr install
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
pkgname=mpc
|
||||
pkgver=1.3.1
|
||||
pkgdesc="Minimalist command line interface to MPD"
|
||||
homepage="https://www.musicpd.org/clients/mpc/"
|
||||
license=(GPL-2.0-or-later)
|
||||
sources=($pkgname-$pkgver.tar.gz)
|
||||
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||
md5sums=("5c9bc658c9fd0f940e8e3e0f09530c62")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/"${pkgname}-${pkgver}"
|
||||
make
|
||||
make html
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
make DESTDIR="$pkgdir" install-html
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
pkgname=mpfr
|
||||
_pkgver=4.2.1
|
||||
_patchver=0
|
||||
if (( _patchver == 0 )); then
|
||||
pkgver=$_pkgver
|
||||
else
|
||||
pkgver=$_pkgver.p$_patchver
|
||||
fi
|
||||
pkgdesc='Multiple-precision floating-point library'
|
||||
homepage='https://www.mpfr.org/'
|
||||
# NOTE: download potentially existing patches from upstream:
|
||||
# `curl patches.diff -o https://www.mpfr.org/mpfr-${_pkgver}/allpatches`
|
||||
sources=("${pkgname}-${_pkgver}.tar.xz")
|
||||
urls=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$_pkgver.tar.xz)
|
||||
md5sums=("523c50c6318dde6f9dc523bc0244690a")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-thread-safe \
|
||||
--docdir=/usr/share/doc/mpfr-${_pkgver}
|
||||
make
|
||||
make html
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
make DESTDIR="$pkgdir" install-html
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
pkgname=pkgconf
|
||||
pkgver=2.3.0
|
||||
pkgdesc="Package compiler and linker metadata toolkit"
|
||||
homepage="https://github.com/pkgconf/pkgconf"
|
||||
license=(ISC)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://distfiles.ariadne.space/pkgconf/${pkgname}-${pkgver}.tar.xz")
|
||||
md5sums=("833363e77b5bed0131c7bc4cc6f7747b")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/pkgconf-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
ln -sv pkgconf "${pkgdir}/usr/bin/pkg-config"
|
||||
ln -sv pkgconf.1 "${pkgdir}/usr/share/man/man1/pkg-config.1"
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
pkgname=readline
|
||||
_basever=8.2
|
||||
_patchlevel=13
|
||||
pkgver=${_basever}.${_patchlevel}
|
||||
pkgdesc='GNU readline library'
|
||||
homepage='https://tiswww.case.edu/php/chet/readline/rltop.html'
|
||||
license=('GPL-3.0-only')
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://ftp.gnu.org/gnu/readline/readline-${pkgver}.tar.gz")
|
||||
md5sums=("05080bf3801e6874bb115cd6700b708f")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
sed -i '/MV.*old/d' Makefile.in
|
||||
sed -i '/{OLDSUFF}/c:' support/shlib-install
|
||||
sed -i 's/-Wl,-rpath,[^ ]*//' support/shobj-conf
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--with-curses \
|
||||
--docdir=/usr/share/doc/readline-8.2.13
|
||||
make SHLIB_LIBS="-lncursesw"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make SHLIB_LIBS="-lncursesw" DESTDIR="$pkgdir" install
|
||||
install -v -m644 doc/*.{ps,pdf,html,dvi} ${pkgdir}/usr/share/doc/readline-8.2.13
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
pkgname=shadow
|
||||
pkgver=4.16.0
|
||||
pkgdesc="Password and account management tool suite with support for shadow files and PAM"
|
||||
homepage="https://github.com/shadow-maint/shadow"
|
||||
license=(BSD-3-Clause)
|
||||
sources=("${pkgname}-${pkgver}.tar.xz"
|
||||
"useradd"
|
||||
)
|
||||
urls=("https://github.com/shadow-maint/shadow/releases/download/${pkgver}/${sources[0]}"
|
||||
"https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs/shadow-4.16.0/useradd"
|
||||
)
|
||||
md5sums=("eb70bad3316d08f0d3bb3d4bbeccb3b4"
|
||||
"87ed6b2e7cdf479e05d4fe2510adb77f"
|
||||
)
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
|
||||
sed -i 's/groups$(EXEEXT) //' src/Makefile.in
|
||||
find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
|
||||
find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
|
||||
find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;
|
||||
|
||||
sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' \
|
||||
-e 's:/var/spool/mail:/var/mail:' \
|
||||
-e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \
|
||||
-i etc/login.defs
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--with-{b,yes}crypt \
|
||||
--without-libbsd \
|
||||
--with-group-name-max-length=32
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make exec_prefix=/usr DESTDIR="${pkgdir}" install
|
||||
make DESTDIR="${pkgdir}" -C man install-man
|
||||
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
install -vDm 600 "${DIST_DIR}/${pkgname}-${pkgver}/useradd" -t "${pkgdir}/etc/default/"
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
# useradd defaults file
|
||||
GROUP=999
|
||||
GROUPS=
|
||||
HOME=/home
|
||||
INACTIVE=-1
|
||||
EXPIRE=
|
||||
SHELL=/bin/bash
|
||||
SKEL=/etc/skel
|
||||
USRSKEL=/usr/etc/skel
|
||||
CREATE_MAIL_SPOOL=no
|
||||
LOG_INIT=yes
|
||||
@@ -1,64 +0,0 @@
|
||||
pkgname=tcl
|
||||
pkgver=8.6.14
|
||||
pkgdesc='Powerful, easy-to-learn dynamic programming language'
|
||||
homepage='http://tcl.sourceforge.net/'
|
||||
license=(TCL)
|
||||
_archive="$pkgname$pkgver"
|
||||
sources=("${_archive}-src.tar.gz"
|
||||
"${_archive}-html.tar.gz"
|
||||
)
|
||||
urls=("https://downloads.sourceforge.net/sourceforge/tcl/$_archive-src.tar.gz"
|
||||
"https://downloads.sourceforge.net/sourceforge/tcl/$_archive-html.tar.gz"
|
||||
)
|
||||
md5sums=("c30b57c6051be28fa928d09aca82841e"
|
||||
"5467198f8d57c54835bf80b98ffb0170"
|
||||
)
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
SRCDIR=$(pwd)
|
||||
cd unix
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--disable-rpath
|
||||
make
|
||||
|
||||
sed -e "s|$SRCDIR/unix|/usr/lib|" \
|
||||
-e "s|$SRCDIR|/usr/include|" \
|
||||
-i tclConfig.sh
|
||||
|
||||
sed -e "s|$SRCDIR/unix/pkgs/tdbc1.1.7|/usr/lib/tdbc1.1.7|" \
|
||||
-e "s|$SRCDIR/pkgs/tdbc1.1.7/generic|/usr/include|" \
|
||||
-e "s|$SRCDIR/pkgs/tdbc1.1.7/library|/usr/lib/tcl8.6|" \
|
||||
-e "s|$SRCDIR/pkgs/tdbc1.1.7|/usr/include|" \
|
||||
-i pkgs/tdbc1.1.7/tdbcConfig.sh
|
||||
|
||||
sed -e "s|$SRCDIR/unix/pkgs/itcl4.2.4|/usr/lib/itcl4.2.4|" \
|
||||
-e "s|$SRCDIR/pkgs/itcl4.2.4/generic|/usr/include|" \
|
||||
-e "s|$SRCDIR/pkgs/itcl4.2.4|/usr/include|" \
|
||||
-i pkgs/itcl4.2.4/itclConfig.sh
|
||||
|
||||
unset SRCDIR
|
||||
}
|
||||
|
||||
src_check() {
|
||||
cd "${srcdir}/unix"
|
||||
make test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${srcdir}/unix"
|
||||
make INSTALL_ROOT="${pkgdir}" install install-private-headers
|
||||
chmod -v u+w "${pkgdir}/usr/lib/libtcl8.6.so"
|
||||
ln -sfv tclsh8.6 "${pkgdir}/usr/bin/tclsh"
|
||||
mv "${pkgdir}"/usr/share/man/man3/{Thread,Tcl_Thread}.3
|
||||
|
||||
cd ..
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[1]} --strip-components=1
|
||||
mkdir -v -p "${pkgdir}/usr/share/doc/tcl-8.6.14"
|
||||
cp -v -r ./html/* "${pkgdir}/usr/share/doc/tcl-8.6.14"
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
pkgname=zstd
|
||||
pkgver=1.5.6
|
||||
pkgdesc='Zstandard - Fast real-time compression algorithm'
|
||||
url='https://facebook.github.io/zstd/'
|
||||
license=(
|
||||
BSD-3-Clause
|
||||
GPL-2.0-only
|
||||
)
|
||||
sources=("zstd-${pkgver}.tar.gz")
|
||||
urls=("https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz")
|
||||
md5sums=("5a473726b3445d0e5d6296afd1ab6854")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
make prefix=/usr
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make prefix="${pkgdir}/usr" install
|
||||
rm -v "${pkgdir}/usr/lib/libzstd.a"
|
||||
}
|
||||
Reference in New Issue
Block a user