libdir fixes
This commit is contained in:
1 parent
4e4707a54c
commit
9d223fa7dd
44 files changed
+105
-63
No files matched your search
@@ -27,18 +27,18 @@ build(){
|
||||
make -j$(nproc) -C $name-shared CFLAGS="-fpic -fPIC ${CFLAGS}"
|
||||
}
|
||||
package(){
|
||||
install -dm755 ${DESTDIR}/usr/{bin,lib64,include,share/man/man1}
|
||||
install -dm755 ${DESTDIR}/usr/{bin,lib64/bzip2,include,share/man/man1}
|
||||
|
||||
install -m755 $name-shared/bzip2-shared "${DESTDIR}"/usr/bin/bzip2
|
||||
install -m755 bzip2recover bzdiff bzgrep bzmore "${DESTDIR}"/usr/bin
|
||||
ln -sf bzip2 "${DESTDIR}"/usr/bin/bunzip2
|
||||
ln -sf bzip2 "${DESTDIR}"/usr/bin/bzcat
|
||||
|
||||
install -m755 libbz2.a "${DESTDIR}"/usr/lib64/
|
||||
install -m755 $name-shared/libbz2.so.${version} "${DESTDIR}"/usr/lib64
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/libbz2.so
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/libbz2.so.1
|
||||
ln -s libbz2.so.$version "${DESTDIR}"/usr/lib64/libbz2.so.1.0
|
||||
install -m755 libbz2.a "${DESTDIR}"/usr/lib64/bzip2/
|
||||
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
|
||||
|
||||
install -m644 bzlib.h "${DESTDIR}"/usr/include/
|
||||
|
||||
@@ -46,4 +46,5 @@ 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
|
||||
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 \
|
||||
--libdir=/usr/lib64/libarchive \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--enable-xattr \
|
||||
@@ -49,4 +49,5 @@ build() {
|
||||
}
|
||||
package() {
|
||||
make -j$(nproc) install
|
||||
echo "/usr/lib64/libarchive/" > ${DESTDIR}/etc/ld.so.conf.d/libarchive.conf
|
||||
}
|
||||
@@ -22,6 +22,8 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc` PREFIX=/usr
|
||||
mv ${DESTDIR}/usr/{lib,lib64}
|
||||
mkdir -p ${DESTDIR}/usr/lib64
|
||||
mv ${DESTDIR}/usr/{lib,lib64/lz4}
|
||||
echo "/usr/lib64/lz4/" > ${DESTDIR}/etc/ld.so.conf.d/lz4.conf
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
--libdir=/usr/lib64/lzo
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -29,8 +29,9 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
install -m 755 libminilzo.so.0 "${DESTDIR}"/usr/lib64
|
||||
install -m 755 libminilzo.so.0 "${DESTDIR}"/usr/lib64/lzo
|
||||
install -p -m 644 minilzo/minilzo.h ${DESTDIR}/usr/include/lzo
|
||||
ln -s libminilzo.so.0 "${DESTDIR}"/usr/lib64/libminilzo.so
|
||||
ln -s libminilzo.so.0 "${DESTDIR}"/usr/lib64/lzo/libminilzo.so
|
||||
echo "/usr/lib64/lzo/" > ${DESTDIR}/etc/ld.so.conf.d/lzo.conf
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ cd xz-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--libdir=/usr/lib64/xz-utils \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
$(use_opt doc --enable-doc --disable-doc) \
|
||||
@@ -28,4 +28,5 @@ build(){
|
||||
}
|
||||
package(){
|
||||
make install -j$(nproc)
|
||||
echo "/usr/lib64/xz-utils/" > ${DESTDIR}/etc/ld.so.conf.d/xz-utils.conf
|
||||
}
|
||||
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64
|
||||
--libdir=/usr/lib64/hello
|
||||
}
|
||||
|
||||
build(){
|
||||
@@ -28,4 +28,5 @@ build(){
|
||||
|
||||
package(){
|
||||
make install
|
||||
echo "/usr/lib64/hello/" > ${DESTDIR}/etc/ld.so.conf.d/hello.conf
|
||||
}
|
||||
@@ -19,7 +19,7 @@ setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/lib64 \
|
||||
--bindir=/bin \
|
||||
--with-curses \
|
||||
--with-curses \
|
||||
--enable-readline \
|
||||
--without-bash-malloc
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user