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
@@ -18,7 +18,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64
--libdir=/usr/lib64/acl
}
build(){
@@ -27,4 +27,5 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/acl/" > ${DESTDIR}/etc/ld.so.conf.d/acl.conf
}
+2 -1
View File
@@ -18,7 +18,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64
--libdir=/usr/lib64/attr
}
build(){
@@ -27,5 +27,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/attr/" > ${DESTDIR}/etc/ld.so.conf.d/attr.conf
}
+2 -1
View File
@@ -22,7 +22,7 @@ cd $name-$version
setup(){
opts=(
--prefix=/usr
--libdir=/usr/lib64
--libdir=/usr/lib64/magic
--enable-static
--enable-elf
--enable-elf-core
@@ -40,4 +40,5 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/magic/" > ${DESTDIR}/etc/ld.so.conf.d/magic.conf
}
+2 -1
View File
@@ -20,7 +20,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/util-linux \
--bindir=/usr/bin \
--enable-shared \
--enable-static \
@@ -47,5 +47,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/util-linux/" > ${DESTDIR}/etc/ld.so.conf.d/util-linux.conf
}
+2 -1
View File
@@ -21,7 +21,7 @@ cd $name-$version
setup(){
meson setup build --prefix=/usr \
--libdir=/lib64 \
--libdir=/lib64/ymp \
--bindir=/bin \
-Dshared=true \
-Dstatic=false \
@@ -37,5 +37,6 @@ build(){
package(){
ninja -C build install
echo "/lib64/ymp/" > ${DESTDIR}/etc/ld.so.conf.d/ymp.conf
}
+2 -1
View File
@@ -23,7 +23,7 @@ setup(){
mkdir build
cd build
../configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/binutils \
--disable-nls \
--disable-werror \
--enable-cet \
@@ -55,5 +55,6 @@ build(){
package(){
cd build
make install -j`nproc`
echo "/usr/lib64/binutils/" > ${DESTDIR}/etc/ld.so.conf.d/binutils.conf
}
+2 -1
View File
@@ -20,7 +20,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/lib64/gettext \
--enable-shared \
--enable-static \
--disable-java \
@@ -39,5 +39,6 @@ build(){
package(){
make install -j`nproc`
echo "/lib64/gettext/" > ${DESTDIR}/etc/ld.so.conf.d/gettext.conf
}
+2 -1
View File
@@ -19,7 +19,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64
--libdir=/usr/lib64/libtool
}
build(){
@@ -28,5 +28,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/libtool/" > ${DESTDIR}/etc/ld.so.conf.d/libtool.conf
}
+2 -1
View File
@@ -19,7 +19,7 @@ cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/gdbm \
--enable-libgdbm-compat
}
@@ -29,5 +29,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/gdbm/" > ${DESTDIR}/etc/ld.so.conf.d/gdbm.conf
}
+2 -1
View File
@@ -22,7 +22,7 @@ cd $name-$version
setup(){
./autogen.sh
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/libcap-ng \
$(use_opt python --with-python --without-python) \
$(use_opt python --with-python3 --without-python3)
}
@@ -33,5 +33,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/libcap-ng/" > ${DESTDIR}/etc/ld.so.conf.d/libcap-ng.conf
}
+3 -2
View File
@@ -18,10 +18,11 @@ arch=('x86_64')
cd $name-$version
build(){
make DYNAMIC=yes KERNEL_HEADERS=/usr/include lib=lib64 prefix=/usr
make DYNAMIC=yes KERNEL_HEADERS=/usr/include lib=lib64/libcap prefix=/usr
}
package(){
make RAISE_SETFCAP=no lib=lib64 prefix=/usr install
make RAISE_SETFCAP=no lib=lib64/libcap prefix=/usr install
echo "/usr/lib64/libcap/" > ${DESTDIR}/etc/ld.so.conf.d/libcap.conf
}
+3 -2
View File
@@ -25,12 +25,12 @@ prepare(){
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/libxcrypt \
--enable-hashes=strong,glibc \
--enable-obsolete-api=glibc
cd ../$name-compat
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/libxcrypt \
--enable-hashes=strong,glibc \
--enable-obsolete-api=no
}
@@ -45,6 +45,7 @@ package(){
make install -j`nproc`
cd ../$name-compat
make install -j`nproc`
echo "/usr/lib64/libxcrypt/" > ${DESTDIR}/etc/ld.so.conf.d/libxcrypt.conf
}
+1 -2
View File
@@ -20,7 +20,7 @@ cd Linux-PAM-$version
setup(){
./configure --prefix=/usr \
--sbindir=/sbin \
--libdir=/lib64/pam \
--libdir=/lib64 \
--enable-securedir=/lib64/security \
--enable-static \
--enable-shared \
@@ -38,7 +38,6 @@ package(){
rm -rf ${DESTDIR}/usr/lib/systemd/
# ld.so.conf
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
echo "/lib64/pam/" > ${DESTDIR}/etc/ld.so.conf.d/pam.conf
mv ${DESTDIR}/lib64/pam/pkgconfig ${DESTDIR}/lib64/pkgconfig
}
+2 -1
View File
@@ -22,7 +22,7 @@ cd audit-userspace-$version
setup(){
autoreconf -fv --install
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libdir=/usr/lib64/audit \
--disable-zos-remote \
--disable-listener \
--disable-systemd \
@@ -38,5 +38,6 @@ build(){
package(){
make install -j`nproc`
echo "/usr/lib64/audit/" > ${DESTDIR}/etc/ld.so.conf.d/audit.conf
}