relocate all packages with new group names from gentoo
This commit is contained in:
1 parent
20645c750a
commit
e133dbe26f
54 files changed
+42
-40
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
name='gmp'
|
||||
release='1'
|
||||
version='6.2.1'
|
||||
url='https://gmplib.org'
|
||||
description='Library for arbitrary-precision arithmetic on different type of numbers'
|
||||
email='kurth4cker@tutanota.com'
|
||||
maintainer='kurth4cker'
|
||||
license=('GPLv2' 'LGPLv3')
|
||||
source=('https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz')
|
||||
md5sums=('0b82665c4a92fd2ade7440c13fcaa42b')
|
||||
arch=('x86_64')
|
||||
group=(dev.libs)
|
||||
uses=(cxx)
|
||||
cxx_depends=(gcc)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
$(use_opt cxx --enable-cxx --disable-cxx)
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
name=libffi
|
||||
release=1
|
||||
version=3.4.4
|
||||
url='https://gitlab.com/sulinos/devel/ymp'
|
||||
description='A portable foreign-function interface library. '
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv3')
|
||||
source=('https://github.com/libffi/libffi/releases/download/v3.4.4/libffi-3.4.4.tar.gz')
|
||||
md5sums=('0da1a5ed7786ac12dcbaf0d499d8a049') # replace this
|
||||
arch=(x86_64)
|
||||
group=(dev.libs)
|
||||
|
||||
cd "$name-$version"
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/lib64
|
||||
}
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
package(){
|
||||
make -j`nproc` install
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libmpc'
|
||||
release='1'
|
||||
version='1.2.1'
|
||||
url='http://www.multiprecision.org/'
|
||||
description='Library for the arithmetic of complex numbers with arbitrarily high precision'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('LGPL')
|
||||
source=("https://ftp.gnu.org/gnu/mpc/mpc-$version.tar.gz")
|
||||
depends=(mpfr)
|
||||
makedepends=( )
|
||||
md5sums=('9f16c976c25bb0f76b50be749cd7a3a8')
|
||||
group=(dev.libs)
|
||||
arch=('x86_64')
|
||||
|
||||
cd mpc-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libpcre2'
|
||||
release='1'
|
||||
version='10.40'
|
||||
url='https://pcre.org'
|
||||
description='Perl-compatible regular expression library'
|
||||
email='kurth4cker@tutanota.com'
|
||||
maintainer='kurth4cker'
|
||||
license=('BSD')
|
||||
source=("https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz")
|
||||
md5sums=('252411a2f9cb529cda965bff37af1d18')
|
||||
arch=('x86_64')
|
||||
group=(dev.libs)
|
||||
uses=(zlib bzip2)
|
||||
zlib_depends=(zlib)
|
||||
bzip2_depends=(bzip2)
|
||||
|
||||
cd pcre2-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
$(use_opt zlib --enable-pcre2grep-libz --disable-pcre2grep-libz) \
|
||||
$(use_opt bzip2 --enable-pcre2grep-libbz2 --disable-pcre2grep-libbz2)
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
name=libtasn1
|
||||
release=1
|
||||
version=4.19.0
|
||||
url='https://gitlab.com/sulinos/devel/ymp'
|
||||
description='Manage ASN.1 structures'
|
||||
email='parduscix@yandex.ru'
|
||||
maintainer='sulincix'
|
||||
license=('GPLv3')
|
||||
source=('https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.19.0.tar.gz')
|
||||
md5sums=('f701ab57eb8e7d9c105b2cd5d809b29a') # replace this
|
||||
arch=(x86_64)
|
||||
group=(dev.libs)
|
||||
|
||||
cd "libtasn1-$version"
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/lib64
|
||||
}
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
package(){
|
||||
make -j`nproc` install
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libunistring'
|
||||
release='1'
|
||||
version='1.1'
|
||||
url='https://www.gnu.org/software/libunistring/'
|
||||
description='Library for manipulating Unicode strings and C strings'
|
||||
email=' parduscix@yandex.ru'
|
||||
maintainer=' sulincix'
|
||||
license=('GPLv3')
|
||||
source=("https://ftp.gnu.org/gnu/libunistring/libunistring-$version.tar.xz")
|
||||
depends=( )
|
||||
makedepends=( )
|
||||
md5sums=('0dfba19989ae06b8e7a49a7cd18472a1')
|
||||
arch=('x86_64')
|
||||
group=(dev.libs)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring.so.2
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring.so.2.2.0
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libxml2'
|
||||
release='1'
|
||||
version='2.10.3'
|
||||
url='https://gitlab.gnome.org/GNOME/libxml2'
|
||||
description='XML parser and toolkit'
|
||||
email=' aliriza.keskin@pardus.org.tr'
|
||||
maintainer=' aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.10.3/libxml2-v${version}.tar.gz")
|
||||
depends=(zlib xz-utils)
|
||||
makedepends=()
|
||||
md5sums=('4a8bc66943dd13f7ff2ee8816b808969')
|
||||
uses=()
|
||||
uses_extra=(python)
|
||||
python_depends=(python)
|
||||
arch=('x86_64')
|
||||
group=(dev.libs)
|
||||
|
||||
cd $name-v$version
|
||||
|
||||
setup(){
|
||||
set -ex
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--with-history \
|
||||
--libdir=/usr/lib64 \
|
||||
$(use_opt python --with-python --without-python)
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib64/
|
||||
rmdir ${DESTDIR}/usr/lib/
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env bash
|
||||
name='mpfr'
|
||||
release='1'
|
||||
version='4.1.0'
|
||||
url='https://mpfr.org'
|
||||
description='multiple precision floating-point computation'
|
||||
email='kurth4cker@tutanota.com'
|
||||
maintainer='kurth4cker'
|
||||
license=('LGPL-2.1')
|
||||
source=("https://ftp.gnu.org/gnu/mpfr/mpfr-${version}.tar.xz")
|
||||
depends=(gmp)
|
||||
makedepends=( )
|
||||
md5sums=('bdd3d5efba9c17da8d83a35ec552baef')
|
||||
arch=('x86_64')
|
||||
group=(dev.libs)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-maintainer-mode \
|
||||
--enable-thread-safe
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/bin/busybox sh
|
||||
scan_dirs() {
|
||||
scanelf -qS "$@" | while read SONAME FILE; do
|
||||
TARGET="${FILE##*/}"
|
||||
LINK="${FILE%/*}/$SONAME"
|
||||
case "$FILE" in
|
||||
/lib/*|/usr/lib/*|/usr/local/lib/*) ;;
|
||||
*) [ -h "$LINK" -o ! -e "$LINK" ] && ln -sf "$TARGET" "$LINK"
|
||||
esac
|
||||
done
|
||||
return 0
|
||||
}
|
||||
# eat ldconfig options
|
||||
while getopts "nNvXvf:C:r:" opt; do
|
||||
:
|
||||
done
|
||||
shift $(( $OPTIND - 1 ))
|
||||
[ $# -gt 0 ] && scan_dirs "$@"
|
||||
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
name='musl'
|
||||
release='1'
|
||||
version='1.2.3'
|
||||
url='https://example.org'
|
||||
description='the musl c library (libc) implementation'
|
||||
email=' aliriza.keskin@pardus.org.tr'
|
||||
maintainer=' aliriza'
|
||||
license=('MIT')
|
||||
source=('https://musl.libc.org/releases/musl-1.2.3.tar.gz'
|
||||
'ldconfig')
|
||||
depends=( )
|
||||
makedepends=( )
|
||||
md5sums=('a507ae4f7f20bcfe566d8eb65c1af73e'
|
||||
'SKIP')
|
||||
arch=('x86_64')
|
||||
group=(dev.libs)
|
||||
|
||||
cd $name-$version
|
||||
unset CFLAGS
|
||||
unset CXXFLAGS
|
||||
setup(){
|
||||
./configure --prefix=/usr/lib64/musl \
|
||||
--exec-prefix=/usr \
|
||||
--enable-wrapper=all \
|
||||
--enable-debug \
|
||||
--syslibdir=/lib64 \
|
||||
--libdir=/usr/lib64/musl \
|
||||
--includedir=/usr/include/musl
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
# Alpine linux like LDSO
|
||||
local LDSO=$(make -f Makefile --eval "$(echo -e 'print-ldso:\n\t@echo $$(basename $(LDSO_PATHNAME))')" print-ldso)
|
||||
mv -f "$DESTDIR"/usr/lib64/musl/libc.so "$DESTDIR"/lib64/"$LDSO"
|
||||
ln -sf "$LDSO" "$DESTDIR"/lib64/libc.musl-$(uname -m).so.1
|
||||
ln -sf ../../../lib64/"$LDSO" "$DESTDIR"/usr/lib64/musl/libc.so
|
||||
# Glibc compability symlink
|
||||
for i in libc.so.6 libcrypt.so.1 libm.so.6 libpthread.so.0 librt.so.1 libutil.so.1; do
|
||||
ln -sf libc.so "$DESTDIR/usr/lib64/musl/$i"
|
||||
done
|
||||
# ldd
|
||||
cat >>"$DESTDIR"/usr/bin/musl-ldd <<-EOF
|
||||
#!/bin/busybox sh
|
||||
exec /usr/lib64/musl/libc.so --list "\$@"
|
||||
EOF
|
||||
chmod 755 "$DESTDIR"/usr/bin/musl-ldd
|
||||
install ../ldconfig "$DESTDIR"/usr/bin/musl-ldconfig
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
name='nettle'
|
||||
release='1'
|
||||
version='3.8'
|
||||
url='https://www.lysator.liu.se/~nisse/nettle'
|
||||
description='A low-level cryptographic library'
|
||||
email=' parduscix@yandex.ru'
|
||||
maintainer=' sulincix'
|
||||
license=('GPLv2')
|
||||
source=('https://ftp.gnu.org/gnu/nettle/nettle-3.8.tar.gz')
|
||||
depends=(gmp)
|
||||
makedepends=( )
|
||||
md5sums=('77eca50d6bb7c6ed34275466f669f62e')
|
||||
group=(dev.libs)
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh -e
|
||||
# fork from KISS linux
|
||||
|
||||
[ -w /etc/ssl ] || {
|
||||
printf '%s\n' "${0##*/}: root required to update cert." >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
cd /etc/ssl && {
|
||||
wget -O cacert.pem https://curl.haxx.se/ca/cacert.pem
|
||||
mv -f cacert.pem cert.pem
|
||||
printf '%s\n' "${0##*/}: updated cert.pem"
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/usr/bin/env bash
|
||||
name='openssl'
|
||||
release='1'
|
||||
version='1.1.1s'
|
||||
url='https://www.openssl.org/source/'
|
||||
description='Package description missing'
|
||||
email=' aliriza.keskin@pardus.org.tr'
|
||||
maintainer=' aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||
"https://curl.haxx.se/ca/cacert.pem"
|
||||
"update-certdata.sh")
|
||||
depends=( )
|
||||
makedepends=( )
|
||||
md5sums=('077f69d357758c7d6ef686f813e16f30'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
arch=('x86_64')
|
||||
group=(dev.libs)
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./Configure --prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
--libdir=lib64 \
|
||||
shared linux-x86_64
|
||||
}
|
||||
|
||||
build(){
|
||||
make depend -j`nproc`
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
mkdir -p "${DESTDIR}/etc/ssl/" "${DESTDIR}/sbin/"
|
||||
install ../update-certdata.sh "${DESTDIR}/sbin/update-certdata"
|
||||
install ../cacert.pem "${DESTDIR}/etc/ssl/cert.pem"
|
||||
make DESTDIR="${DESTDIR}" \
|
||||
install_sw \
|
||||
install_ssldirs \
|
||||
install_man_docs -j`nproc`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user