libdir fixes

This commit is contained in:
aliriza committed 2022-12-06 07:44:41 +00:00
1 parent 4e4707a54c
commit 9d223fa7dd
44 files changed
+105 -63

No files matched your search

+2 -1
View File
@@ -20,7 +20,7 @@ cd $name-autoconf-$srcver
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/sqlite \
--enable-fts3 \
--enable-fts4 \
--enable-fts5 \
@@ -40,5 +40,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/sqlite/" > ${DESTDIR}/etc/ld.so.conf.d/sqlite.conf
}
+2 -1
View File
@@ -23,7 +23,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/elfutils \
--enable-shared \
--enable-static \
--disable-debuginfod \
@@ -43,5 +43,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/elfutils/" > ${DESTDIR}/etc/ld.so.conf.d/elfutils.conf
}
+2 -1
View File
@@ -19,7 +19,7 @@ cd $name-$version
setup(){
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib64 \
-DCMAKE_INSTALL_LIBDIR=lib64/expat \
-DCMAKE_BUILD_TYPE=None \
-DEXPAT_BUILD_DOCS=false \
-W no-dev \
@@ -32,5 +32,6 @@ build(){
package(){
make install -C build
echo "/usr/lib64/expat/" > ${DESTDIR}/etc/ld.so.conf.d/expat.conf
}
+2 -1
View File
@@ -20,7 +20,7 @@ cd $name-$version
setup(){
meson setup build --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/glib2.0 \
--default-library both \
-D glib_debug=disabled \
-D selinux=disabled \
@@ -35,5 +35,6 @@ package(){
ninja -C build install
mkdir -p ${DESTDIR}/etc/sysconf.d/
install ../glib.sysconf ${DESTDIR}/etc/sysconf.d/glib
echo "/usr/lib64/glib2.0/" > ${DESTDIR}/etc/ld.so.conf.d/glib.conf
}
+2 -1
View File
@@ -18,7 +18,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/gmp \
$(use_opt cxx --enable-cxx --disable-cxx)
}
@@ -28,5 +28,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/gmp/" > ${DESTDIR}/etc/ld.so.conf.d/gmp.conf
}
+2 -1
View File
@@ -16,11 +16,12 @@ cd "$name-$version"
setup(){
./configure --prefix=/usr \
--libdir=/lib64
--libdir=/usr/lib64/libffi
}
build(){
make -j`nproc`
}
package(){
make -j`nproc` install
echo "/usr/lib64/libffi/" > ${DESTDIR}/etc/ld.so.conf.d/libffi.conf
}
+2 -1
View File
@@ -18,7 +18,7 @@ cd mpc-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64
--libdir=/usr/lib64/libmpc
}
build(){
@@ -27,5 +27,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/libmpc/" > ${DESTDIR}/etc/ld.so.conf.d/libmpc.conf
}
+2 -1
View File
@@ -19,7 +19,7 @@ cd pcre2-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/libpcre2 \
--enable-shared \
--enable-static \
$(use_opt zlib --enable-pcre2grep-libz --disable-pcre2grep-libz) \
@@ -32,5 +32,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/libpcre2/" > ${DESTDIR}/etc/ld.so.conf.d/libpcre2.conf
}
+2 -1
View File
@@ -16,11 +16,12 @@ cd "libtasn1-$version"
setup(){
./configure --prefix=/usr \
--libdir=/lib64
--libdir=/usr/lib64/libtasn1
}
build(){
make -j`nproc`
}
package(){
make -j`nproc` install
echo "/usr/lib64/libtasn1/" > ${DESTDIR}/etc/ld.so.conf.d/libtasn1.conf
}
+4 -3
View File
@@ -18,7 +18,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64
--libdir=/usr/lib64/libunistring/
}
build(){
@@ -27,7 +27,8 @@ build(){
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
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring/libunistring.so.2
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring/libunistring.so.2.2.0
echo "/usr/lib64/libunistring/" > ${DESTDIR}/etc/ld.so.conf.d/libunistring.conf
}
+2 -1
View File
@@ -24,7 +24,7 @@ setup(){
./autogen.sh
./configure --prefix=/usr \
--with-history \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/libxml2 \
$(use_opt python --with-python --without-python)
}
@@ -38,5 +38,6 @@ package(){
mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib64/
rmdir ${DESTDIR}/usr/lib/
fi
echo "/usr/lib64/libxml2/" > ${DESTDIR}/etc/ld.so.conf.d/libxml2.conf
}
+2 -1
View File
@@ -18,7 +18,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/mpfr \
--enable-shared \
--enable-static \
--disable-maintainer-mode \
@@ -31,4 +31,5 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/mpfr/" > ${DESTDIR}/etc/ld.so.conf.d/mpfr.conf
}
+2 -1
View File
@@ -18,7 +18,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64
--libdir=/usr/lib64/nettle
}
build(){
@@ -27,5 +27,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/nettle/" > ${DESTDIR}/etc/ld.so.conf.d/nettle.conf
}
+2 -1
View File
@@ -23,7 +23,7 @@ cd $name-$version
setup(){
./Configure --prefix=/usr \
--openssldir=/etc/ssl \
--libdir=lib64 \
--libdir=lib64/openssl \
shared linux-x86_64
}
@@ -40,5 +40,6 @@ package(){
install_sw \
install_ssldirs \
install_man_docs -j`nproc`
echo "/usr/lib64/openssl/" > ${DESTDIR}/etc/ld.so.conf.d/openssl.conf
}