libdir drop custom directory
This commit is contained in:
1 parent
5a3009dd0d
commit
de4e838a9e
46 files changed
+70
-200
No files matched your search
@@ -34,11 +34,11 @@ package(){
|
||||
ln -sf bzip2 "${DESTDIR}"/usr/bin/bunzip2
|
||||
ln -sf bzip2 "${DESTDIR}"/usr/bin/bzcat
|
||||
|
||||
install -m755 libbz2.a "${DESTDIR}"/usr/lib64/bzip2/
|
||||
install -m755 libbz2.a "${DESTDIR}"/usr/lib64
|
||||
install -m755 $name-shared/libbz2.so.${version} "${DESTDIR}"/usr/lib64/bzip2
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/bzip2/libbz2.so
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/bzip2/libbz2.so.1
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/bzip2/libbz2.so.1.0
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64libbz2.so
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64libbz2.so.1
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64libbz2.so.1.0
|
||||
|
||||
install -m644 bzlib.h "${DESTDIR}"/usr/include/
|
||||
|
||||
@@ -46,6 +46,4 @@ package(){
|
||||
ln -sf bzip2.1 "${DESTDIR}"/usr/share/man/man1/bunzip2.1
|
||||
ln -sf bzip2.1 "${DESTDIR}"/usr/share/man/man1/bzcat.1
|
||||
ln -sf bzip2.1 "${DESTDIR}"/usr/share/man/man1/bzip2recover.1
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/bzip2/" > ${DESTDIR}/etc/ld.so.conf.d/bzip2.conf
|
||||
}
|
||||
@@ -28,7 +28,7 @@ cd $name-$version
|
||||
|
||||
setup() {
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libarchive \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--enable-xattr \
|
||||
@@ -49,7 +49,4 @@ build() {
|
||||
}
|
||||
package() {
|
||||
make -j$(nproc) install
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libarchive/" > ${DESTDIR}/etc/ld.so.conf.d/libarchive.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -23,9 +23,6 @@ build(){
|
||||
package(){
|
||||
make install -j`nproc` PREFIX=/usr
|
||||
mkdir -p ${DESTDIR}/usr/lib64
|
||||
mv ${DESTDIR}/usr/{lib,lib64/lz4}
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/lz4/" > ${DESTDIR}/etc/ld.so.conf.d/lz4.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
mv ${DESTDIR}/usr/{lib,lib64}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/lzo
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -29,11 +29,8 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
install -m 755 libminilzo.so.0 "${DESTDIR}"/usr/lib64/lzo
|
||||
install -m 755 libminilzo.so.0 "${DESTDIR}"/usr/lib64
|
||||
install -p -m 644 minilzo/minilzo.h ${DESTDIR}/usr/include/lzo
|
||||
ln -s libminilzo.so.0 "${DESTDIR}"/usr/lib64/lzo/libminilzo.so
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/lzo/" > ${DESTDIR}/etc/ld.so.conf.d/lzo.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
ln -s libminilzo.so.0 "${DESTDIR}"/usr/lib64/libminilzo.so
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ cd xz-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/xz-utils \
|
||||
--libdir=/usr/lib64 \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
$(use_opt doc --enable-doc --disable-doc) \
|
||||
@@ -28,7 +28,4 @@ build(){
|
||||
}
|
||||
package(){
|
||||
make install -j$(nproc)
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/xz-utils/" > ${DESTDIR}/etc/ld.so.conf.d/xz-utils.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
@@ -15,10 +15,10 @@ group=(app.arch)
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr --libdir=/lib64/zlib --shared
|
||||
./configure --prefix=/usr --libdir=/lib64 --shared
|
||||
cd contrib/minizip
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr --libdir=/lib64/zlib
|
||||
./configure --prefix=/usr --libdir=/lib64
|
||||
}
|
||||
build(){
|
||||
make -j$(nproc)
|
||||
@@ -29,7 +29,4 @@ package(){
|
||||
make install pkgconfigdir="/usr/lib64/pkgconfig"
|
||||
cd contrib/minizip
|
||||
make install pkgconfigdir="/usr/lib64/pkgconfig"
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/lib64/zlib/" > ${DESTDIR}/etc/ld.so.conf.d/zlib.conf
|
||||
|
||||
}
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/hello
|
||||
--libdir=/usr/lib64
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -28,6 +28,4 @@ build(){
|
||||
|
||||
package(){
|
||||
make install
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/hello/" > ${DESTDIR}/etc/ld.so.conf.d/hello.conf
|
||||
}
|
||||
Reference in new issue
Block a user