libdir fixes
This commit is contained in:
1 parent
4e4707a54c
commit
9d223fa7dd
44 files changed
+105
-63
No files matched your search
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
--libdir=/usr/lib64/libidn2
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,5 +27,6 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
echo "/usr/lib64/libidn2/" > ${DESTDIR}/etc/ld.so.conf.d/libidn2.conf
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--libdir=/usr/lib64/gnutls \
|
||||
--disable-guile \
|
||||
--enable-ssl3-support \
|
||||
--enable-openssl-compatibility \
|
||||
@@ -41,5 +41,6 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
echo "/usr/lib64/gnutls/" > ${DESTDIR}/etc/ld.so.conf.d/gnutls.conf
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ cd nghttp2-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--libdir=/usr/lib64/libnghttp2 \
|
||||
--without-neverbleed \
|
||||
--without-jemalloc \
|
||||
--disable-examples \
|
||||
@@ -35,5 +35,6 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
echo "/usr/lib64/libnghttp2/" > ${DESTDIR}/etc/ld.so.conf.d/libnghttp2.conf
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
--libdir=/usr/lib64/libnsl
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -28,5 +28,6 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
echo "/usr/lib64/libnsl/" > ${DESTDIR}/etc/ld.so.conf.d/libnsl.conf
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
--libdir=/usr/lib64/libpsl
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,5 +27,6 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
echo "/usr/lib64/libpsl/" > ${DESTDIR}/etc/ld.so.conf.d/libpsl.conf
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--libdir=/usr/lib64/libseccomp \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--disable-silent-rules \
|
||||
@@ -27,4 +27,5 @@ build(){
|
||||
}
|
||||
package(){
|
||||
make install -j$(nproc)
|
||||
echo "/usr/lib64/libseccomp/" > ${DESTDIR}/etc/ld.so.conf.d/libseccomp.conf
|
||||
}
|
||||
@@ -19,7 +19,7 @@ zlib_depends=(zlib)
|
||||
setup() {
|
||||
cmake -S $name-$version -B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib64 \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib64/libssh \
|
||||
-DWITH_EXAMPLES=NO \
|
||||
-DBUILD_SHARED_LIBS=YES \
|
||||
-DBUILD_STATIC_LIB=YES \
|
||||
@@ -37,5 +37,6 @@ build() {
|
||||
}
|
||||
package() {
|
||||
make -C build install
|
||||
install build/src/libssh.a ${DESTDIR}/usr/lib64/
|
||||
install build/src/libssh.a ${DESTDIR}/usr/lib64/libssh/
|
||||
echo "/usr/lib64/libssh/" > ${DESTDIR}/etc/ld.so.conf.d/libssh.conf
|
||||
}
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--libdir=/usr/lib64/libtirpc \
|
||||
--disable-gssapi
|
||||
}
|
||||
|
||||
@@ -29,5 +29,6 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
echo "/usr/lib64/libtirpc/" > ${DESTDIR}/etc/ld.so.conf.d/libtirpc.conf
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ prepare(){
|
||||
setup(){
|
||||
opts=(
|
||||
--prefix=/usr
|
||||
--libdir=/usr/lib64
|
||||
--libdir=/usr/lib64/curl
|
||||
--disable-ldap
|
||||
--disable-ldaps
|
||||
--disable-versioned-symbols
|
||||
@@ -72,19 +72,20 @@ package(){
|
||||
if use gnutls ; then
|
||||
cd ../curl-gnutls
|
||||
make install -j`nproc`
|
||||
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
|
||||
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
|
||||
sed -i "s/-lcurl/-lcurl-gnutls/g" "${DESTDIR}"/usr/lib64/pkgconfig/libcurl-gnutls.pc
|
||||
ln -s libcurl-gnutls.so.4 "${DESTDIR}"/usr/lib64/libcurl-gnutls.so
|
||||
ln -s libcurl-gnutls.so.4 "${DESTDIR}"/usr/lib64/curl/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/libcurl-gnutls.so.${ver}
|
||||
ln -s libcurl-gnutls.so.4.8.0 "${DESTDIR}"/usr/lib64/curl/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/libcurl.so.${ver}
|
||||
ln -s libcurl.so.4.8.0 "${DESTDIR}"/usr/lib64/curl/libcurl.so.${ver}
|
||||
done
|
||||
echo "/usr/lib64/curl/" > ${DESTDIR}/etc/ld.so.conf.d/curl.conf
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user