libdir drop custom directory
This commit is contained in:
1 parent
5a3009dd0d
commit
de4e838a9e
46 files changed
+70
-200
No files matched your search
@@ -34,11 +34,11 @@ package(){
|
||||
ln -sf bzip2 "${DESTDIR}"/usr/bin/bunzip2
|
||||
ln -sf bzip2 "${DESTDIR}"/usr/bin/bzcat
|
||||
|
||||
install -m755 libbz2.a "${DESTDIR}"/usr/lib64/bzip2/
|
||||
install -m755 libbz2.a "${DESTDIR}"/usr/lib64
|
||||
install -m755 $name-shared/libbz2.so.${version} "${DESTDIR}"/usr/lib64/bzip2
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/bzip2/libbz2.so
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/bzip2/libbz2.so.1
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/bzip2/libbz2.so.1.0
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64libbz2.so
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64libbz2.so.1
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64libbz2.so.1.0
|
||||
|
||||
install -m644 bzlib.h "${DESTDIR}"/usr/include/
|
||||
|
||||
@@ -46,6 +46,4 @@ package(){
|
||||
ln -sf bzip2.1 "${DESTDIR}"/usr/share/man/man1/bunzip2.1
|
||||
ln -sf bzip2.1 "${DESTDIR}"/usr/share/man/man1/bzcat.1
|
||||
ln -sf bzip2.1 "${DESTDIR}"/usr/share/man/man1/bzip2recover.1
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/bzip2/" > ${DESTDIR}/etc/ld.so.conf.d/bzip2.conf
|
||||
}
|
||||
@@ -28,7 +28,7 @@ cd $name-$version
|
||||
|
||||
setup() {
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libarchive \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--enable-xattr \
|
||||
@@ -49,7 +49,4 @@ build() {
|
||||
}
|
||||
package() {
|
||||
make -j$(nproc) install
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libarchive/" > ${DESTDIR}/etc/ld.so.conf.d/libarchive.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -23,9 +23,6 @@ build(){
|
||||
package(){
|
||||
make install -j`nproc` PREFIX=/usr
|
||||
mkdir -p ${DESTDIR}/usr/lib64
|
||||
mv ${DESTDIR}/usr/{lib,lib64/lz4}
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/lz4/" > ${DESTDIR}/etc/ld.so.conf.d/lz4.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
mv ${DESTDIR}/usr/{lib,lib64}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/lzo
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -29,11 +29,8 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
install -m 755 libminilzo.so.0 "${DESTDIR}"/usr/lib64/lzo
|
||||
install -m 755 libminilzo.so.0 "${DESTDIR}"/usr/lib64
|
||||
install -p -m 644 minilzo/minilzo.h ${DESTDIR}/usr/include/lzo
|
||||
ln -s libminilzo.so.0 "${DESTDIR}"/usr/lib64/lzo/libminilzo.so
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/lzo/" > ${DESTDIR}/etc/ld.so.conf.d/lzo.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
ln -s libminilzo.so.0 "${DESTDIR}"/usr/lib64/libminilzo.so
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ cd xz-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/xz-utils \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
$(use_opt doc --enable-doc --disable-doc) \
|
||||
@@ -28,7 +28,4 @@ build(){
|
||||
}
|
||||
package(){
|
||||
make install -j$(nproc)
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/xz-utils/" > ${DESTDIR}/etc/ld.so.conf.d/xz-utils.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -15,10 +15,10 @@ group=(app.arch)
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr --libdir=/lib64/zlib --shared
|
||||
./configure --prefix=/usr --libdir=/lib64 --shared
|
||||
cd contrib/minizip
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr --libdir=/lib64/zlib
|
||||
./configure --prefix=/usr --libdir=/lib64
|
||||
}
|
||||
build(){
|
||||
make -j$(nproc)
|
||||
@@ -29,7 +29,4 @@ package(){
|
||||
make install pkgconfigdir="/usr/lib64/pkgconfig"
|
||||
cd contrib/minizip
|
||||
make install pkgconfigdir="/usr/lib64/pkgconfig"
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/lib64/zlib/" > ${DESTDIR}/etc/ld.so.conf.d/zlib.conf
|
||||
|
||||
}
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/hello
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -28,6 +28,4 @@ build(){
|
||||
|
||||
package(){
|
||||
make install
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/hello/" > ${DESTDIR}/etc/ld.so.conf.d/hello.conf
|
||||
}
|
||||
@@ -20,11 +20,11 @@ cd $name-autoconf-$srcver
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/sqlite \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-fts3 \
|
||||
--enable-fts4 \
|
||||
--enable-fts5 \
|
||||
--enable-rtree \
|
||||
--enable-fts4 \
|
||||
--enable-fts5 \
|
||||
--enable-rtree \
|
||||
CPPFLAGS="-DSQLITE_ENABLE_FTS3=1 \
|
||||
-DSQLITE_ENABLE_FTS4=1 \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
@@ -40,8 +40,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/sqlite/" > ${DESTDIR}/etc/ld.so.conf.d/sqlite.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/elfutils \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-debuginfod \
|
||||
@@ -43,8 +43,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/elfutils/" > ${DESTDIR}/etc/ld.so.conf.d/elfutils.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib64/expat \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib64 \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DEXPAT_BUILD_DOCS=false \
|
||||
-W no-dev \
|
||||
@@ -32,9 +32,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -C build
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/expat/" > ${DESTDIR}/etc/ld.so.conf.d/expat.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
mv ${DESTDIR}/usr/lib64/{$name/cmake,}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
meson setup build --prefix=/usr \
|
||||
--libdir=/usr/lib64/glib2.0 \
|
||||
--libdir=/usr/lib64 \
|
||||
--default-library both \
|
||||
-D glib_debug=disabled \
|
||||
-D selinux=disabled \
|
||||
@@ -35,8 +35,5 @@ package(){
|
||||
ninja -C build install
|
||||
mkdir -p ${DESTDIR}/etc/sysconf.d/
|
||||
install ../glib.sysconf ${DESTDIR}/etc/sysconf.d/glib
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/glib2.0/" > ${DESTDIR}/etc/ld.so.conf.d/glib.conf
|
||||
mv ${DESTDIR}/usr/lib64/{glib2.0/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/gmp \
|
||||
--libdir=/usr/lib64 \
|
||||
$(use_opt cxx --enable-cxx --disable-cxx)
|
||||
}
|
||||
|
||||
@@ -28,8 +28,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/gmp/" > ${DESTDIR}/etc/ld.so.conf.d/gmp.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd mpc-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libmpc
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,7 +27,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libmpc/" > ${DESTDIR}/etc/ld.so.conf.d/libmpc.conf
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ cd pcre2-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libpcre2 \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
$(use_opt zlib --enable-pcre2grep-libz --disable-pcre2grep-libz) \
|
||||
@@ -32,8 +32,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libpcre2/" > ${DESTDIR}/etc/ld.so.conf.d/libpcre2.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -16,14 +16,11 @@ cd "libtasn1-$version"
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libtasn1
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
package(){
|
||||
make -j`nproc` install
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libtasn1/" > ${DESTDIR}/etc/ld.so.conf.d/libtasn1.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libunistring/
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,9 +27,7 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring/libunistring.so.2
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring/libunistring.so.2.2.0
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libunistring/" > ${DESTDIR}/etc/ld.so.conf.d/libunistring.conf
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring.so.2
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring.so.2.2.0
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ setup(){
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--with-history \
|
||||
--libdir=/usr/lib64/libxml2 \
|
||||
--libdir=/usr/lib64 \
|
||||
$(use_opt python --with-python --without-python)
|
||||
}
|
||||
|
||||
@@ -38,8 +38,5 @@ package(){
|
||||
mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib64/
|
||||
rmdir ${DESTDIR}/usr/lib/
|
||||
fi
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libxml2/" > ${DESTDIR}/etc/ld.so.conf.d/libxml2.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/mpfr \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-maintainer-mode \
|
||||
@@ -31,7 +31,4 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/mpfr/" > ${DESTDIR}/etc/ld.so.conf.d/mpfr.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/nettle
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,8 +27,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/nettle/" > ${DESTDIR}/etc/ld.so.conf.d/nettle.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ cd $name-$version
|
||||
setup(){
|
||||
./Configure --prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
--libdir=lib64/openssl \
|
||||
--libdir=lib64 \
|
||||
shared linux-x86_64
|
||||
}
|
||||
|
||||
@@ -40,8 +40,5 @@ package(){
|
||||
install_sw \
|
||||
install_ssldirs \
|
||||
install_man_docs -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/openssl/" > ${DESTDIR}/etc/ld.so.conf.d/openssl.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ cd $name-$name-$version
|
||||
setup(){
|
||||
sh ./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/pkgconf \
|
||||
--libdir=/usr/lib64 \
|
||||
--with-pkg-config-dir=/usr/share/pkgconfig:/usr/lib64/pkgconfig:/lib64/pkgconfig
|
||||
}
|
||||
|
||||
@@ -38,8 +38,5 @@ package(){
|
||||
install -Dt "${DESTDIR}/usr/share/pkgconfig/personality.d" -m644 \
|
||||
../i686-pc-linux-gnu.personality \
|
||||
../x86_64-pc-linux-gnu.personality
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/pkgconf/" > ${DESTDIR}/etc/ld.so.conf.d/pkgconf.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libidn2
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,8 +27,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libidn2/" > ${DESTDIR}/etc/ld.so.conf.d/libidn2.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/gnutls \
|
||||
--libdir=/usr/lib64 \
|
||||
--disable-guile \
|
||||
--enable-ssl3-support \
|
||||
--enable-openssl-compatibility \
|
||||
@@ -41,8 +41,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/gnutls/" > ${DESTDIR}/etc/ld.so.conf.d/gnutls.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ cd nghttp2-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libnghttp2 \
|
||||
--libdir=/usr/lib64 \
|
||||
--without-neverbleed \
|
||||
--without-jemalloc \
|
||||
--disable-examples \
|
||||
@@ -35,8 +35,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libnghttp2/" > ${DESTDIR}/etc/ld.so.conf.d/libnghttp2.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libnsl
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -28,8 +28,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libnsl/" > ${DESTDIR}/etc/ld.so.conf.d/libnsl.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libpsl
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,8 +27,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libpsl/" > ${DESTDIR}/etc/ld.so.conf.d/libpsl.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libseccomp \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--disable-silent-rules \
|
||||
@@ -27,7 +27,4 @@ build(){
|
||||
}
|
||||
package(){
|
||||
make install -j$(nproc)
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libseccomp/" > ${DESTDIR}/etc/ld.so.conf.d/libseccomp.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -19,7 +19,7 @@ zlib_depends=(zlib)
|
||||
setup() {
|
||||
cmake -S $name-$version -B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib64/libssh \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib64 \
|
||||
-DWITH_EXAMPLES=NO \
|
||||
-DBUILD_SHARED_LIBS=YES \
|
||||
-DBUILD_STATIC_LIB=YES \
|
||||
@@ -37,8 +37,5 @@ build() {
|
||||
}
|
||||
package() {
|
||||
make -C build install
|
||||
install build/src/libssh.a ${DESTDIR}/usr/lib64/libssh/
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libssh/" > ${DESTDIR}/etc/ld.so.conf.d/libssh.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
install build/src/libssh.a ${DESTDIR}/usr/lib64/
|
||||
}
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libtirpc \
|
||||
--libdir=/usr/lib64 \
|
||||
--disable-gssapi
|
||||
}
|
||||
|
||||
@@ -29,8 +29,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libtirpc/" > ${DESTDIR}/etc/ld.so.conf.d/libtirpc.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
+7
-10
@@ -36,7 +36,7 @@ prepare(){
|
||||
setup(){
|
||||
opts=(
|
||||
--prefix=/usr
|
||||
--libdir=/usr/lib64/curl
|
||||
--libdir=/usr/lib64
|
||||
--disable-ldap
|
||||
--disable-ldaps
|
||||
--disable-versioned-symbols
|
||||
@@ -72,22 +72,19 @@ package(){
|
||||
if use gnutls ; then
|
||||
cd ../curl-gnutls
|
||||
make install -j`nproc`
|
||||
mv "${DESTDIR}"/usr/lib64/curl/libcurl{,-gnutls}.so.4.8.0
|
||||
mv "${DESTDIR}"/usr/lib64/curl/libcurl{,-gnutls}.a
|
||||
mv "${DESTDIR}"/usr/lib64/curl/pkgconfig/libcurl{,-gnutls}.pc
|
||||
mv "${DESTDIR}"/usr/lib64/libcurl{,-gnutls}.so.4.8.0
|
||||
mv "${DESTDIR}"/usr/lib64/libcurl{,-gnutls}.a
|
||||
mv "${DESTDIR}"/usr/lib64/pkgconfig/libcurl{,-gnutls}.pc
|
||||
sed -i "s/-lcurl/-lcurl-gnutls/g" "${DESTDIR}"/usr/lib64/pkgconfig/libcurl-gnutls.pc
|
||||
ln -s libcurl-gnutls.so.4 "${DESTDIR}"/usr/lib64/curl/libcurl-gnutls.so
|
||||
ln -s libcurl-gnutls.so.4 "${DESTDIR}"/usr/lib64/libcurl-gnutls.so
|
||||
for ver in 3 4 4.0.0 4.1.0 4.2.0 4.3.0 4.4.0 4.5.0 4.6.0 4.7.0; do
|
||||
ln -s libcurl-gnutls.so.4.8.0 "${DESTDIR}"/usr/lib64/curl/libcurl-gnutls.so.${ver}
|
||||
ln -s libcurl-gnutls.so.4.8.0 "${DESTDIR}"/usr/lib64/libcurl-gnutls.so.${ver}
|
||||
done
|
||||
fi
|
||||
cd ../$name-$version
|
||||
make install -j`nproc`
|
||||
for ver in 3 4.0.0 4.1.0 4.2.0 4.3.0 4.4.0 4.5.0 4.6.0 4.7.0; do
|
||||
ln -s libcurl.so.4.8.0 "${DESTDIR}"/usr/lib64/curl/libcurl.so.${ver}
|
||||
ln -s libcurl.so.4.8.0 "${DESTDIR}"/usr/lib64/libcurl.so.${ver}
|
||||
done
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/curl/" > ${DESTDIR}/etc/ld.so.conf.d/curl.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,16 +18,12 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/acl
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
https://gitlab.com/sulix/packages/binary-repo
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/acl/" > ${DESTDIR}/etc/ld.so.conf.d/acl.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/attr
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,8 +27,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/attr/" > ${DESTDIR}/etc/ld.so.conf.d/attr.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -22,10 +22,10 @@ cd $name-$version
|
||||
setup(){
|
||||
opts=(
|
||||
--prefix=/usr
|
||||
--libdir=/usr/lib64/magic
|
||||
--enable-static
|
||||
--enable-elf
|
||||
--enable-elf-core
|
||||
--libdir=/usr/lib64
|
||||
--enable-static
|
||||
--enable-elf
|
||||
--enable-elf-core
|
||||
)
|
||||
./configure ${opts[@]} \
|
||||
$(use_opt zlib --enable-zlib --disable-zlib) \
|
||||
@@ -40,7 +40,4 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/magic/" > ${DESTDIR}/etc/ld.so.conf.d/magic.conf
|
||||
mv ${DESTDIR}/usr/lib64/{magic/pkgconfig,}
|
||||
}
|
||||
@@ -26,7 +26,7 @@ cd $name-$version
|
||||
setup(){
|
||||
autoreconf -fiv
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/shadow \
|
||||
--libdir=/usr/lib64 \
|
||||
--sysconfdir=/etc \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/sbin \
|
||||
@@ -49,7 +49,5 @@ package(){
|
||||
install -vDm 600 ../useradd.defaults "${DESTDIR}/etc/default/useradd"
|
||||
install -vDm 600 ../system-auth "${DESTDIR}/etc/pam.d/system-auth"
|
||||
install -vDm 755 ../shadow.sysconf ${DESTDIR}/etc/sysconf.d/shadow
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/shadow/" > ${DESTDIR}/etc/ld.so.conf.d/shadow.conf
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/util-linux \
|
||||
--libdir=/usr/lib64 \
|
||||
--bindir=/usr/bin \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
@@ -47,8 +47,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/util-linux/" > ${DESTDIR}/etc/ld.so.conf.d/util-linux.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
meson setup build --prefix=/usr \
|
||||
--libdir=/lib64/ymp \
|
||||
--libdir=/lib64 \
|
||||
--bindir=/bin \
|
||||
-Dshared=true \
|
||||
-Dstatic=false \
|
||||
@@ -37,7 +37,5 @@ build(){
|
||||
|
||||
package(){
|
||||
ninja -C build install
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/lib64/ymp/" > ${DESTDIR}/etc/ld.so.conf.d/ymp.conf
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ setup(){
|
||||
mkdir build
|
||||
cd build
|
||||
../configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/binutils \
|
||||
--libdir=/usr/lib64 \
|
||||
--disable-nls \
|
||||
--disable-werror \
|
||||
--enable-cet \
|
||||
@@ -55,7 +55,5 @@ build(){
|
||||
package(){
|
||||
cd build
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/binutils/" > ${DESTDIR}/etc/ld.so.conf.d/binutils.conf
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/lib64/gettext \
|
||||
--libdir=/lib64 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-java \
|
||||
@@ -39,7 +39,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/lib64/gettext/" > ${DESTDIR}/etc/ld.so.conf.d/gettext.conf
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libtool
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -28,7 +28,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libtool/" > ${DESTDIR}/etc/ld.so.conf.d/libtool.conf
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/gdbm \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-libgdbm-compat
|
||||
}
|
||||
|
||||
@@ -29,7 +29,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/gdbm/" > ${DESTDIR}/etc/ld.so.conf.d/gdbm.conf
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ cd $name-$version
|
||||
setup(){
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libcap-ng \
|
||||
--libdir=/usr/lib64 \
|
||||
$(use_opt python --with-python --without-python) \
|
||||
$(use_opt python --with-python3 --without-python3)
|
||||
}
|
||||
@@ -33,8 +33,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libcap-ng/" > ${DESTDIR}/etc/ld.so.conf.d/libcap-ng.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,13 +18,10 @@ arch=('x86_64')
|
||||
cd $name-$version
|
||||
|
||||
build(){
|
||||
make DYNAMIC=yes KERNEL_HEADERS=/usr/include lib=lib64/libcap prefix=/usr
|
||||
make DYNAMIC=yes KERNEL_HEADERS=/usr/include lib=lib64 prefix=/usr
|
||||
}
|
||||
|
||||
package(){
|
||||
make RAISE_SETFCAP=no lib=lib64/libcap prefix=/usr install
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libcap/" > ${DESTDIR}/etc/ld.so.conf.d/libcap.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -25,12 +25,12 @@ prepare(){
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libxcrypt \
|
||||
--libdir=/lib64 \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc
|
||||
cd ../$name-compat
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libxcrypt \
|
||||
--libdir=/lib64 \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=no
|
||||
}
|
||||
@@ -45,8 +45,5 @@ package(){
|
||||
make install -j`nproc`
|
||||
cd ../$name-compat
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libxcrypt/" > ${DESTDIR}/etc/ld.so.conf.d/libxcrypt.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -19,8 +19,8 @@ cd $name-$version
|
||||
setup(){
|
||||
cp -prf ../$name-$version ../widec
|
||||
opts=(--prefix=/usr
|
||||
--libdir=/lib64/ncurses
|
||||
--with-pkg-config-libdir=/usr/lib64/pkgconfig
|
||||
--libdir=/lib64
|
||||
--with-pkg-config-libdir=/lib64/pkgconfig
|
||||
--without-ada
|
||||
--without-tests
|
||||
--disable-termcap
|
||||
@@ -71,8 +71,4 @@ package(){
|
||||
make -j$(nproc) install
|
||||
cd ../$name-$version
|
||||
make -j$(nproc) install
|
||||
# fix lib64/ncurses
|
||||
sed "s/^Libs:/& -L\$\{libdir\}/" -i "$DESTDIR"/usr/lib64/pkgconfig/*.pc
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/lib64/ncurses/" > ${DESTDIR}/etc/ld.so.conf.d/ncurses.conf
|
||||
}
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/lib64/readline
|
||||
--libdir=/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,8 +27,6 @@ build(){
|
||||
}
|
||||
|
||||
package(){
|
||||
make SHLIB_LIBS="-L/tools/lib -lncursesw" DESTDIR="$DESTDIR" install pkgconfigdir="/usr/lib64/pkgconfig"
|
||||
make SHLIB_LIBS="-L/tools/lib -lncursesw" DESTDIR="$DESTDIR" install pkgconfigdir="/lib64/pkgconfig"
|
||||
install -Dm644 ../inputrc "$DESTDIR"/etc/inputrc
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/lib64/readline/" > ${DESTDIR}/etc/ld.so.conf.d/readline.conf
|
||||
}
|
||||
@@ -22,7 +22,7 @@ cd audit-userspace-$version
|
||||
setup(){
|
||||
autoreconf -fv --install
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/audit \
|
||||
--libdir=/usr/lib64 \
|
||||
--disable-zos-remote \
|
||||
--disable-listener \
|
||||
--disable-systemd \
|
||||
@@ -38,8 +38,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/audit/" > ${DESTDIR}/etc/ld.so.conf.d/audit.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user