mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
New package: tarlz-0.27.1
Co-authored-by: Duncaen <duncaen@voidlinux.org>
This commit is contained in:
parent
f1322cf7d4
commit
00f341ce64
1 changed files with 36 additions and 0 deletions
36
srcpkgs/tarlz/template
Normal file
36
srcpkgs/tarlz/template
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'tarlz'
|
||||
pkgname=tarlz
|
||||
version=0.27.1
|
||||
revision=1
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr"
|
||||
makedepends="lzlib-devel"
|
||||
checkdepends="lzip"
|
||||
short_desc="Archiver with multimember lzip compression"
|
||||
maintainer="Matt Boehlke <git@mtboehlke.com>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://www.nongnu.org/lzip/tarlz.html"
|
||||
distfiles="${NONGNU_SITE}/lzip/tarlz/tarlz-${version}.tar.lz"
|
||||
checksum=7091968e8f9b5333730e7a558ebf5aa9089d9f0528e6aea994c6f24a9d46a03f
|
||||
|
||||
CPPFLAGS="-D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
|
||||
|
||||
do_configure() {
|
||||
./configure ${configure_args} \
|
||||
CXX="${CXX}" \
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
CXXFLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
pre_check() {
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
# EOVERFLOW with i686-glibc until stat is using 64-bit time_t
|
||||
vsed -e 's/\${safe_dates} \${dates}/\${safe_dates}/g' \
|
||||
-e '/2106-02-07T06:28:15/d' \
|
||||
-e 's/2038-01-19T03:14:08//' \
|
||||
-e "s/2242-03-16T12:56:31 2242-03-16T12:56:32 @8589934591 @8589934592//" \
|
||||
-i testsuite/check.sh
|
||||
fi
|
||||
:
|
||||
}
|
Loading…
Add table
Reference in a new issue