libarchive.guncellendi

This commit is contained in:
milisarge 2017-07-15 02:57:34 +03:00
parent c50ef17565
commit 8731fb8a40
1 changed files with 35 additions and 13 deletions

View File

@ -1,25 +1,47 @@
# Description: farklı arşiv tiplerini uygulayan kütüphane # Description: Library that can create and read several streaming archive formats.
# URL: http://people.freebsd.org/~kientzle/libarchive # URL: http://people.freebsd.org/~kientzle/libarchive
# Packager: milisarge # Maintainer: kientzle at acm dot org
# Depends on: # Packager: tnuttens at gmail dot com
name=libarchive name=libarchive
version=3.3.2 version=3.1.2
release=1 release=1
source=(http://www.libarchive.org/downloads/libarchive-$version.tar.gz 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
) )
build() { build() {
cd $name-$version 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
autoreconf -fi ./configure --prefix=/usr \
./configure \ --mandir=/usr/share/man \
--prefix=/usr \ --bindir=/bin \
--without-xml2 \ --without-xml2 \
--without-nettle \ --infodir=/usr/share/info
--disable-static
make make
make DESTDIR=$PKG install 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
} }