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 -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
}