libdir drop custom directory
This commit is contained in:
1 parent
5a3009dd0d
commit
de4e838a9e
46 files changed
+70
-200
No files matched your search
@@ -20,11 +20,11 @@ cd $name-autoconf-$srcver
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/sqlite \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-fts3 \
|
||||
--enable-fts4 \
|
||||
--enable-fts5 \
|
||||
--enable-rtree \
|
||||
--enable-fts4 \
|
||||
--enable-fts5 \
|
||||
--enable-rtree \
|
||||
CPPFLAGS="-DSQLITE_ENABLE_FTS3=1 \
|
||||
-DSQLITE_ENABLE_FTS4=1 \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
@@ -40,8 +40,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/sqlite/" > ${DESTDIR}/etc/ld.so.conf.d/sqlite.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/elfutils \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-debuginfod \
|
||||
@@ -43,8 +43,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/elfutils/" > ${DESTDIR}/etc/ld.so.conf.d/elfutils.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib64/expat \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib64 \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DEXPAT_BUILD_DOCS=false \
|
||||
-W no-dev \
|
||||
@@ -32,9 +32,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -C build
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/expat/" > ${DESTDIR}/etc/ld.so.conf.d/expat.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
mv ${DESTDIR}/usr/lib64/{$name/cmake,}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
meson setup build --prefix=/usr \
|
||||
--libdir=/usr/lib64/glib2.0 \
|
||||
--libdir=/usr/lib64 \
|
||||
--default-library both \
|
||||
-D glib_debug=disabled \
|
||||
-D selinux=disabled \
|
||||
@@ -35,8 +35,5 @@ package(){
|
||||
ninja -C build install
|
||||
mkdir -p ${DESTDIR}/etc/sysconf.d/
|
||||
install ../glib.sysconf ${DESTDIR}/etc/sysconf.d/glib
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/glib2.0/" > ${DESTDIR}/etc/ld.so.conf.d/glib.conf
|
||||
mv ${DESTDIR}/usr/lib64/{glib2.0/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/gmp \
|
||||
--libdir=/usr/lib64 \
|
||||
$(use_opt cxx --enable-cxx --disable-cxx)
|
||||
}
|
||||
|
||||
@@ -28,8 +28,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/gmp/" > ${DESTDIR}/etc/ld.so.conf.d/gmp.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd mpc-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libmpc
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,7 +27,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libmpc/" > ${DESTDIR}/etc/ld.so.conf.d/libmpc.conf
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ cd pcre2-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libpcre2 \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
$(use_opt zlib --enable-pcre2grep-libz --disable-pcre2grep-libz) \
|
||||
@@ -32,8 +32,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libpcre2/" > ${DESTDIR}/etc/ld.so.conf.d/libpcre2.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -16,14 +16,11 @@ cd "libtasn1-$version"
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libtasn1
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
build(){
|
||||
make -j`nproc`
|
||||
}
|
||||
package(){
|
||||
make -j`nproc` install
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libtasn1/" > ${DESTDIR}/etc/ld.so.conf.d/libtasn1.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libunistring/
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -27,9 +27,7 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring/libunistring.so.2
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring/libunistring.so.2.2.0
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libunistring/" > ${DESTDIR}/etc/ld.so.conf.d/libunistring.conf
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring.so.2
|
||||
ln -s libunistring.so ${DESTDIR}/usr/lib64/libunistring.so.2.2.0
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ setup(){
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--with-history \
|
||||
--libdir=/usr/lib64/libxml2 \
|
||||
--libdir=/usr/lib64 \
|
||||
$(use_opt python --with-python --without-python)
|
||||
}
|
||||
|
||||
@@ -38,8 +38,5 @@ package(){
|
||||
mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib64/
|
||||
rmdir ${DESTDIR}/usr/lib/
|
||||
fi
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libxml2/" > ${DESTDIR}/etc/ld.so.conf.d/libxml2.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/mpfr \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-maintainer-mode \
|
||||
@@ -31,7 +31,4 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/mpfr/" > ${DESTDIR}/etc/ld.so.conf.d/mpfr.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/nettle
|
||||
--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/nettle/" > ${DESTDIR}/etc/ld.so.conf.d/nettle.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ cd $name-$version
|
||||
setup(){
|
||||
./Configure --prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
--libdir=lib64/openssl \
|
||||
--libdir=lib64 \
|
||||
shared linux-x86_64
|
||||
}
|
||||
|
||||
@@ -40,8 +40,5 @@ package(){
|
||||
install_sw \
|
||||
install_ssldirs \
|
||||
install_man_docs -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/openssl/" > ${DESTDIR}/etc/ld.so.conf.d/openssl.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ cd $name-$name-$version
|
||||
setup(){
|
||||
sh ./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/pkgconf \
|
||||
--libdir=/usr/lib64 \
|
||||
--with-pkg-config-dir=/usr/share/pkgconfig:/usr/lib64/pkgconfig:/lib64/pkgconfig
|
||||
}
|
||||
|
||||
@@ -38,8 +38,5 @@ package(){
|
||||
install -Dt "${DESTDIR}/usr/share/pkgconfig/personality.d" -m644 \
|
||||
../i686-pc-linux-gnu.personality \
|
||||
../x86_64-pc-linux-gnu.personality
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/pkgconf/" > ${DESTDIR}/etc/ld.so.conf.d/pkgconf.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user