libdir drop custom directory

This commit is contained in:
aliriza committed 2022-12-07 12:57:43 +00:00
1 parent 5a3009dd0d
commit de4e838a9e
46 files changed
+70 -200

No files matched your search

+1 -5
View File
@@ -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,}
}
+1 -4
View File
@@ -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,}
}
+4 -7
View File
@@ -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,}
}
+1 -3
View File
@@ -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
}
+1 -4
View File
@@ -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,}
}
+1 -3
View File
@@ -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
}
+1 -3
View File
@@ -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
}
+1 -3
View File
@@ -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
}
+1 -3
View File
@@ -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
}
+1 -3
View File
@@ -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
}
+1 -4
View File
@@ -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,}
}
+1 -4
View File
@@ -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,}
}
+2 -5
View File
@@ -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,}
}
+2 -6
View File
@@ -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
}
+2 -4
View File
@@ -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
}
+1 -4
View File
@@ -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,}
}