Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/zpaq/files/, app-arch/zpaq/
Date: Thu, 07 Jul 2016 20:55:08
Message-Id: 1467924887.11200af417c9dc691229343a2bb55557b5264ac6.mgorny@gentoo
1 commit: 11200af417c9dc691229343a2bb55557b5264ac6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 7 20:44:02 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 7 20:54:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11200af4
7
8 app-arch/zpaq: Prune old
9
10 app-arch/zpaq/Manifest | 2 -
11 app-arch/zpaq/files/zpaq-4-autotools.patch | 307 -----------------------------
12 app-arch/zpaq/zpaq-6.53.ebuild | 44 -----
13 app-arch/zpaq/zpaq-7.04.ebuild | 44 -----
14 app-arch/zpaq/zpaq-7.13.ebuild | 49 -----
15 5 files changed, 446 deletions(-)
16
17 diff --git a/app-arch/zpaq/Manifest b/app-arch/zpaq/Manifest
18 index 5e27e4d..f882cb3 100644
19 --- a/app-arch/zpaq/Manifest
20 +++ b/app-arch/zpaq/Manifest
21 @@ -1,3 +1 @@
22 -DIST zpaq653.zip 536808 SHA256 295e4e491958c222bf51a30d36eb2d013a6f427422b91ee9d5be7f1c332590b3 SHA512 7999f0e35e8b0f46b586e5a0f5346b3501f21ab39fa25d57b9bdf5b87eee16d9e846f6b60fc7c447195bbdd0345ec4e220606d8c100167611231afe36f5558ed WHIRLPOOL 9d66fc51d2d48df1853c68686a65bc492756e11378c8e9075d6c976f11e69941fe52405ce66a57497fcde0524879ce04ef0430df3ff84da28e7d2f9d2cc70034
23 -DIST zpaq704.zip 630426 SHA256 21b595f8452b32c780f6ff29e0fc716cdf3595338774e1f72d4d4b5df212da39 SHA512 2655febd6e1352858c4daa7abe743c77e2b4b554b6c5961e1dde2c4011b1b4dd647decf60b7a86585eb5a1606253789afb85551923c6f542cf31dfecd984eaaa WHIRLPOOL 8a4ff4dd0c9e53d2f4a85c600537d83d7876f24ba4d4371d5a647d873c5ecc92ed80626f7abc3127f62346a1ffa69bc88172366a4fe4e0ea4236086c55a5ee72
24 DIST zpaq713.zip 829863 SHA256 9120cf4fb1afdecea3ac4f690d7b0577f7cb004ca6b152856edd8ac444f0d919 SHA512 93ef758e9c6c13f4cc89b1969fce3630132c941ee5076959c3a7988b28e12530346c5b489837af9187937be35129bde0c9cf0e8aa8bf326799c893ef9fc74f5f WHIRLPOOL 494c3b9a6e6e0f50cecaf2630bcb4c9edd2433c128c13a1fc7a31d1695cbfbfadeda68f7fa2bd0023a0854d8548221ee52a1c218755b4a5a10b695db6b5a142d
25
26 diff --git a/app-arch/zpaq/files/zpaq-4-autotools.patch b/app-arch/zpaq/files/zpaq-4-autotools.patch
27 deleted file mode 100644
28 index 099054b..0000000
29 --- a/app-arch/zpaq/files/zpaq-4-autotools.patch
30 +++ /dev/null
31 @@ -1,307 +0,0 @@
32 -From 0120bcc43898ebc26af64befabc5552b31fa2992 Mon Sep 17 00:00:00 2001
33 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
34 -Date: Tue, 4 Jan 2011 21:04:53 +0100
35 -Subject: [PATCH] Add autotools files.
36 -
37 ----
38 - Makefile.am | 7 ++
39 - configure.ac | 19 +++++
40 - m4/ax_pthread.m4 | 246 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
41 - 3 files changed, 272 insertions(+)
42 - create mode 100644 Makefile.am
43 - create mode 100644 configure.ac
44 - create mode 100644 m4/ax_pthread.m4
45 -
46 -diff --git a/Makefile.am b/Makefile.am
47 -new file mode 100644
48 -index 0000000..c1135e5
49 ---- /dev/null
50 -+++ b/Makefile.am
51 -@@ -0,0 +1,7 @@
52 -+bin_PROGRAMS = zpaq
53 -+
54 -+ACLOCAL_AMFLAGS = -I m4
55 -+
56 -+zpaq_SOURCES = zpaq.cpp
57 -+zpaq_CXXFLAGS = $(PTHREAD_CFLAGS) $(LIBDIVSUFSORT_CFLAGS)
58 -+zpaq_LDADD = -lzpaq $(LIBDIVSUFSORT_LIBS)
59 -diff --git a/configure.ac b/configure.ac
60 -new file mode 100644
61 -index 0000000..d0f5bb2
62 ---- /dev/null
63 -+++ b/configure.ac
64 -@@ -0,0 +1,19 @@
65 -+AC_PREREQ([2.60])
66 -+AC_INIT([zpaq], [na])
67 -+AC_CONFIG_AUX_DIR([build-aux])
68 -+AM_INIT_AUTOMAKE([1.6 foreign no-dependencies])
69 -+
70 -+AC_LANG([C++])
71 -+AC_PROG_CXX
72 -+ACX_PTHREAD
73 -+PKG_CHECK_MODULES([LIBDIVSUFSORT], [libdivsufsort])
74 -+
75 -+AC_ARG_ENABLE([debug],
76 -+ [AS_HELP_STRING([--enable-debug],
77 -+ [Enable debug])])
78 -+AS_IF([test x"$enable_debug" = x"yes"], [
79 -+ AC_DEFINE([DEBUG], [1], [Set this to enable debug])
80 -+])
81 -+
82 -+AC_CONFIG_FILES([Makefile])
83 -+AC_OUTPUT
84 -diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4
85 -new file mode 100644
86 -index 0000000..3d0806d
87 ---- /dev/null
88 -+++ b/m4/ax_pthread.m4
89 -@@ -0,0 +1,246 @@
90 -+# note: dropped PTHREAD_CC, joinable and stuff
91 -+
92 -+# ===========================================================================
93 -+# http://www.gnu.org/software/autoconf-archive/ax_pthread.html
94 -+# ===========================================================================
95 -+#
96 -+# SYNOPSIS
97 -+#
98 -+# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
99 -+#
100 -+# DESCRIPTION
101 -+#
102 -+# This macro figures out how to build C programs using POSIX threads. It
103 -+# sets the PTHREAD_LIBS output variable to the threads library and linker
104 -+# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
105 -+# flags that are needed. (The user can also force certain compiler
106 -+# flags/libs to be tested by setting these environment variables.)
107 -+#
108 -+# Also sets PTHREAD_CC to any special C compiler that is needed for
109 -+# multi-threaded programs (defaults to the value of CC otherwise). (This
110 -+# is necessary on AIX to use the special cc_r compiler alias.)
111 -+#
112 -+# NOTE: You are assumed to not only compile your program with these flags,
113 -+# but also link it with them as well. e.g. you should link with
114 -+# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
115 -+#
116 -+# If you are only building threads programs, you may wish to use these
117 -+# variables in your default LIBS, CFLAGS, and CC:
118 -+#
119 -+# LIBS="$PTHREAD_LIBS $LIBS"
120 -+# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
121 -+# CC="$PTHREAD_CC"
122 -+#
123 -+# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
124 -+# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
125 -+# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
126 -+#
127 -+# Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
128 -+# PTHREAD_PRIO_INHERIT symbol is defined when compiling with
129 -+# PTHREAD_CFLAGS.
130 -+#
131 -+# ACTION-IF-FOUND is a list of shell commands to run if a threads library
132 -+# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
133 -+# is not found. If ACTION-IF-FOUND is not specified, the default action
134 -+# will define HAVE_PTHREAD.
135 -+#
136 -+# Please let the authors know if this macro fails on any platform, or if
137 -+# you have any other suggestions or comments. This macro was based on work
138 -+# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
139 -+# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
140 -+# Alejandro Forero Cuervo to the autoconf macro repository. We are also
141 -+# grateful for the helpful feedback of numerous users.
142 -+#
143 -+# Updated for Autoconf 2.68 by Daniel Richard G.
144 -+#
145 -+# LICENSE
146 -+#
147 -+# Copyright (c) 2008 Steven G. Johnson <stevenj@××××××××.edu>
148 -+# Copyright (c) 2011 Daniel Richard G. <skunk@××××××.ORG>
149 -+#
150 -+# This program is free software: you can redistribute it and/or modify it
151 -+# under the terms of the GNU General Public License as published by the
152 -+# Free Software Foundation, either version 3 of the License, or (at your
153 -+# option) any later version.
154 -+#
155 -+# This program is distributed in the hope that it will be useful, but
156 -+# WITHOUT ANY WARRANTY; without even the implied warranty of
157 -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
158 -+# Public License for more details.
159 -+#
160 -+# You should have received a copy of the GNU General Public License along
161 -+# with this program. If not, see <http://www.gnu.org/licenses/>.
162 -+#
163 -+# As a special exception, the respective Autoconf Macro's copyright owner
164 -+# gives unlimited permission to copy, distribute and modify the configure
165 -+# scripts that are the output of Autoconf when processing the Macro. You
166 -+# need not follow the terms of the GNU General Public License when using
167 -+# or distributing such scripts, even though portions of the text of the
168 -+# Macro appear in them. The GNU General Public License (GPL) does govern
169 -+# all other use of the material that constitutes the Autoconf Macro.
170 -+#
171 -+# This special exception to the GPL applies to versions of the Autoconf
172 -+# Macro released by the Autoconf Archive. When you make and distribute a
173 -+# modified version of the Autoconf Macro, you may extend this special
174 -+# exception to the GPL to apply to your modified version as well.
175 -+
176 -+#serial 16
177 -+
178 -+AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
179 -+AC_DEFUN([AX_PTHREAD], [
180 -+AC_REQUIRE([AC_CANONICAL_HOST])
181 -+AC_LANG_PUSH([C])
182 -+ax_pthread_ok=no
183 -+
184 -+# We used to check for pthread.h first, but this fails if pthread.h
185 -+# requires special compiler flags (e.g. on True64 or Sequent).
186 -+# It gets checked for in the link test anyway.
187 -+
188 -+# First of all, check if the user has set any of the PTHREAD_LIBS,
189 -+# etcetera environment variables, and if threads linking works using
190 -+# them:
191 -+if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
192 -+ save_CFLAGS="$CFLAGS"
193 -+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
194 -+ save_LIBS="$LIBS"
195 -+ LIBS="$PTHREAD_LIBS $LIBS"
196 -+ AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
197 -+ AC_TRY_LINK_FUNC(pthread_join, ax_pthread_ok=yes)
198 -+ AC_MSG_RESULT($ax_pthread_ok)
199 -+ if test x"$ax_pthread_ok" = xno; then
200 -+ PTHREAD_LIBS=""
201 -+ PTHREAD_CFLAGS=""
202 -+ fi
203 -+ LIBS="$save_LIBS"
204 -+ CFLAGS="$save_CFLAGS"
205 -+fi
206 -+
207 -+# We must check for the threads library under a number of different
208 -+# names; the ordering is very important because some systems
209 -+# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
210 -+# libraries is broken (non-POSIX).
211 -+
212 -+# Create a list of thread flags to try. Items starting with a "-" are
213 -+# C compiler flags, and other items are library names, except for "none"
214 -+# which indicates that we try without any flags at all, and "pthread-config"
215 -+# which is a program returning the flags for the Pth emulation library.
216 -+
217 -+ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
218 -+
219 -+# The ordering *is* (sometimes) important. Some notes on the
220 -+# individual items follow:
221 -+
222 -+# pthreads: AIX (must check this before -lpthread)
223 -+# none: in case threads are in libc; should be tried before -Kthread and
224 -+# other compiler flags to prevent continual compiler warnings
225 -+# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
226 -+# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
227 -+# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
228 -+# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
229 -+# -pthreads: Solaris/gcc
230 -+# -mthreads: Mingw32/gcc, Lynx/gcc
231 -+# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
232 -+# doesn't hurt to check since this sometimes defines pthreads too;
233 -+# also defines -D_REENTRANT)
234 -+# ... -mt is also the pthreads flag for HP/aCC
235 -+# pthread: Linux, etcetera
236 -+# --thread-safe: KAI C++
237 -+# pthread-config: use pthread-config program (for GNU Pth library)
238 -+
239 -+case "${host_cpu}-${host_os}" in
240 -+ *solaris*)
241 -+
242 -+ # On Solaris (at least, for some versions), libc contains stubbed
243 -+ # (non-functional) versions of the pthreads routines, so link-based
244 -+ # tests will erroneously succeed. (We need to link with -pthreads/-mt/
245 -+ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
246 -+ # a function called by this macro, so we could check for that, but
247 -+ # who knows whether they'll stub that too in a future libc.) So,
248 -+ # we'll just look for -pthreads and -lpthread first:
249 -+
250 -+ ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
251 -+ ;;
252 -+
253 -+ *-darwin*)
254 -+ ax_pthread_flags="-pthread $ax_pthread_flags"
255 -+ ;;
256 -+esac
257 -+
258 -+if test x"$ax_pthread_ok" = xno; then
259 -+for flag in $ax_pthread_flags; do
260 -+
261 -+ case $flag in
262 -+ none)
263 -+ AC_MSG_CHECKING([whether pthreads work without any flags])
264 -+ ;;
265 -+
266 -+ -*)
267 -+ AC_MSG_CHECKING([whether pthreads work with $flag])
268 -+ PTHREAD_CFLAGS="$flag"
269 -+ ;;
270 -+
271 -+ pthread-config)
272 -+ AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
273 -+ if test x"$ax_pthread_config" = xno; then continue; fi
274 -+ PTHREAD_CFLAGS="`pthread-config --cflags`"
275 -+ PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
276 -+ ;;
277 -+
278 -+ *)
279 -+ AC_MSG_CHECKING([for the pthreads library -l$flag])
280 -+ PTHREAD_LIBS="-l$flag"
281 -+ ;;
282 -+ esac
283 -+
284 -+ save_LIBS="$LIBS"
285 -+ save_CFLAGS="$CFLAGS"
286 -+ LIBS="$PTHREAD_LIBS $LIBS"
287 -+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
288 -+
289 -+ # Check for various functions. We must include pthread.h,
290 -+ # since some functions may be macros. (On the Sequent, we
291 -+ # need a special flag -Kthread to make this header compile.)
292 -+ # We check for pthread_join because it is in -lpthread on IRIX
293 -+ # while pthread_create is in libc. We check for pthread_attr_init
294 -+ # due to DEC craziness with -lpthreads. We check for
295 -+ # pthread_cleanup_push because it is one of the few pthread
296 -+ # functions on Solaris that doesn't have a non-functional libc stub.
297 -+ # We try pthread_create on general principles.
298 -+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
299 -+ static void routine(void *a) { a = 0; }
300 -+ static void *start_routine(void *a) { return a; }],
301 -+ [pthread_t th; pthread_attr_t attr;
302 -+ pthread_create(&th, 0, start_routine, 0);
303 -+ pthread_join(th, 0);
304 -+ pthread_attr_init(&attr);
305 -+ pthread_cleanup_push(routine, 0);
306 -+ pthread_cleanup_pop(0) /* ; */])],
307 -+ [ax_pthread_ok=yes],
308 -+ [])
309 -+
310 -+ LIBS="$save_LIBS"
311 -+ CFLAGS="$save_CFLAGS"
312 -+
313 -+ AC_MSG_RESULT($ax_pthread_ok)
314 -+ if test "x$ax_pthread_ok" = xyes; then
315 -+ break;
316 -+ fi
317 -+
318 -+ PTHREAD_LIBS=""
319 -+ PTHREAD_CFLAGS=""
320 -+done
321 -+fi
322 -+
323 -+AC_SUBST(PTHREAD_LIBS)
324 -+AC_SUBST(PTHREAD_CFLAGS)
325 -+
326 -+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
327 -+if test x"$ax_pthread_ok" = xyes; then
328 -+ ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
329 -+ :
330 -+else
331 -+ ax_pthread_ok=no
332 -+ $2
333 -+fi
334 -+AC_LANG_POP
335 -+])dnl AX_PTHREAD
336 ---
337 -1.9.0
338 -
339
340 diff --git a/app-arch/zpaq/zpaq-6.53.ebuild b/app-arch/zpaq/zpaq-6.53.ebuild
341 deleted file mode 100644
342 index 7667a97..0000000
343 --- a/app-arch/zpaq/zpaq-6.53.ebuild
344 +++ /dev/null
345 @@ -1,44 +0,0 @@
346 -# Copyright 1999-2014 Gentoo Foundation
347 -# Distributed under the terms of the GNU General Public License v2
348 -# $Id$
349 -
350 -EAPI=5
351 -
352 -AUTOTOOLS_AUTORECONF=1
353 -inherit autotools-utils eutils flag-o-matic
354 -
355 -MY_P=${PN}${PV/./}
356 -DESCRIPTION="Journaling incremental deduplicating archiving compressor"
357 -HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
358 -SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
359 -
360 -LICENSE="GPL-3"
361 -SLOT="0"
362 -KEYWORDS="~amd64 ~x86"
363 -IUSE="debug"
364 -
365 -RDEPEND="~app-arch/libzpaq-${PV}
366 - dev-libs/libdivsufsort"
367 -DEPEND="${RDEPEND}
368 - app-arch/unzip"
369 -
370 -S=${WORKDIR}
371 -
372 -src_prepare() {
373 - EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/${PN}-4-autotools.patch
374 - autotools-utils_src_prepare
375 -}
376 -
377 -src_configure() {
378 - local myeconfargs=(
379 - $(use_enable debug)
380 - )
381 -
382 - append-cppflags -Dunix
383 - autotools-utils_src_configure
384 -}
385 -
386 -pkg_postinst() {
387 - elog "You may also want to install app-arch/zpaq-extras package which provides"
388 - elog "few additional configs and preprocessors for use with zpaq."
389 -}
390
391 diff --git a/app-arch/zpaq/zpaq-7.04.ebuild b/app-arch/zpaq/zpaq-7.04.ebuild
392 deleted file mode 100644
393 index 19f402a..0000000
394 --- a/app-arch/zpaq/zpaq-7.04.ebuild
395 +++ /dev/null
396 @@ -1,44 +0,0 @@
397 -# Copyright 1999-2015 Gentoo Foundation
398 -# Distributed under the terms of the GNU General Public License v2
399 -# $Id$
400 -
401 -EAPI=5
402 -
403 -AUTOTOOLS_AUTORECONF=1
404 -inherit autotools-utils eutils flag-o-matic
405 -
406 -MY_P=${PN}${PV/./}
407 -DESCRIPTION="Journaling incremental deduplicating archiving compressor"
408 -HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
409 -SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
410 -
411 -LICENSE="GPL-3"
412 -SLOT="0"
413 -KEYWORDS="~amd64 ~x86"
414 -IUSE="debug"
415 -
416 -RDEPEND="~app-arch/libzpaq-${PV}
417 - dev-libs/libdivsufsort"
418 -DEPEND="${RDEPEND}
419 - app-arch/unzip"
420 -
421 -S=${WORKDIR}
422 -
423 -src_prepare() {
424 - EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/${PN}-4-autotools.patch
425 - autotools-utils_src_prepare
426 -}
427 -
428 -src_configure() {
429 - local myeconfargs=(
430 - $(use_enable debug)
431 - )
432 -
433 - append-cppflags -Dunix
434 - autotools-utils_src_configure
435 -}
436 -
437 -pkg_postinst() {
438 - elog "You may also want to install app-arch/zpaq-extras package which provides"
439 - elog "few additional configs and preprocessors for use with zpaq."
440 -}
441
442 diff --git a/app-arch/zpaq/zpaq-7.13.ebuild b/app-arch/zpaq/zpaq-7.13.ebuild
443 deleted file mode 100644
444 index ed726ad..0000000
445 --- a/app-arch/zpaq/zpaq-7.13.ebuild
446 +++ /dev/null
447 @@ -1,49 +0,0 @@
448 -# Copyright 1999-2015 Gentoo Foundation
449 -# Distributed under the terms of the GNU General Public License v2
450 -# $Id$
451 -
452 -EAPI=6
453 -
454 -inherit toolchain-funcs
455 -
456 -MY_P=${PN}${PV/./}
457 -DESCRIPTION="Journaling incremental deduplicating archiving compressor"
458 -HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
459 -SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
460 -
461 -LICENSE="GPL-3"
462 -SLOT="0"
463 -KEYWORDS="~amd64 ~x86"
464 -IUSE="debug"
465 -
466 -RDEPEND="~app-arch/libzpaq-${PV}"
467 -# perl for pod2man
468 -DEPEND="${RDEPEND}
469 - app-arch/unzip
470 - dev-lang/perl"
471 -
472 -S=${WORKDIR}
473 -
474 -src_compile() {
475 - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" zpaq.o zpaq.1
476 - # link manually to use shared library
477 - emake -f /dev/null CC="$(tc-getCXX)" LDLIBS="-lzpaq -pthread" zpaq
478 -}
479 -
480 -src_test() {
481 - # no idea why the 'test' needs that
482 - touch libzpaq.so libzpaq.so.1 || die
483 - default
484 -}
485 -
486 -src_install() {
487 - dobin zpaq
488 - doman zpaq.1
489 -}
490 -
491 -pkg_postinst() {
492 - if ! has_version app-arch/zpaq-extras; then
493 - elog "You may also want to install app-arch/zpaq-extras package which provides"
494 - elog "few additional configs and preprocessors for use with zpaq."
495 - fi
496 -}