libarchive.yukseltme
This commit is contained in:
parent
72875e7cf3
commit
fcc4543ebd
1
bin/mps
1
bin/mps
|
@ -1376,6 +1376,7 @@ ayarlar() {
|
|||
kurulum_onay="olumsuz"
|
||||
paket_derle "$2" ;;
|
||||
odkp)
|
||||
[ -d "$talimatname_dizin/temel/$2" ] && ryaz 31 "temel paket için odkp kullanılamaz!";exit 1
|
||||
oto_derle_kur_paketle "$2" ;;
|
||||
-dk|--pkdk)
|
||||
paket_derle "$2" ;;
|
||||
|
|
|
@ -1,47 +1,22 @@
|
|||
# Description: Library that can create and read several streaming archive formats.
|
||||
# Description: farklı arşiv tiplerini uygulayan kütüphane
|
||||
# URL: http://people.freebsd.org/~kientzle/libarchive
|
||||
# Maintainer: kientzle at acm dot org
|
||||
# Packager: tnuttens at gmail dot com
|
||||
# Packager: milisarge
|
||||
# Depends on:
|
||||
|
||||
name=libarchive
|
||||
version=3.1.2
|
||||
version=3.3.2
|
||||
release=1
|
||||
|
||||
source=(http://www.libarchive.org/downloads/libarchive-$version.tar.gz
|
||||
http://downloads.nutyx.org/files/patchs/$name/$name-$version-mtree-fix-line-filename-length-calculation-01.patch
|
||||
http://downloads.nutyx.org/files/patchs/$name/$name-$version-limit-write-requests-to-at-most-INT_MAX-01.patch
|
||||
http://downloads.nutyx.org/files/patchs/$name/$name-$version-acl-01.patch
|
||||
http://downloads.nutyx.org/files/patchs/$name/$name-$version-sparce-mtree-01.patch
|
||||
)
|
||||
source=(http://www.libarchive.org/downloads/libarchive-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -Np1 -i ../$name-$version-mtree-fix-line-filename-length-calculation-01.patch
|
||||
patch -Np1 -i ../$name-$version-limit-write-requests-to-at-most-INT_MAX-01.patch
|
||||
patch -Np1 -i ../$name-$version-acl-01.patch
|
||||
patch -Np1 -i ../$name-$version-sparce-mtree-01.patch
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--bindir=/bin \
|
||||
--without-xml2 \
|
||||
--infodir=/usr/share/info
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
mkdir $PKG/lib
|
||||
|
||||
mv $PKG/usr/lib/libarchive.so.13.1.2 \
|
||||
$PKG/lib/
|
||||
for LIB in libarchive.so{,.13}
|
||||
do
|
||||
ln -sv libarchive.so.13.1.2 $PKG/lib/$LIB
|
||||
rm $PKG/usr/lib/$LIB
|
||||
ln -sv ../../lib/libarchive.so.13.1.2 \
|
||||
$PKG/usr/lib/$LIB
|
||||
done
|
||||
|
||||
ln -sv ../../lib/libarchive.so.13.1.2 \
|
||||
$PKG/usr/lib/libarchive.so.13.1.2
|
||||
|
||||
cd $name-$version
|
||||
autoreconf -fi
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--without-xml2 \
|
||||
--without-nettle \
|
||||
--disable-static
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue