bed04d84f4
Honor PKGMANDIR. Changes in 0.9.5 (Dec 31, 2005) - Changed default output to silent like bzip2 and added -v switch to make verbose - Added support to autodetect number of CPUs on OSX - Added support to compile on Borland and other Windows compilers using pthreads-win32 open source library - Added decompression throttling in case too much backlog in filewriter - Fixed bug from patch in 0.9.4 that limited file block size to 900k - Fixed bug that caused file output to fail with some large files - Fixed pthreads race condition that could cause random segfaults - Fixed pthreads resource issue that prevented pbzip2 from compressing a large number of files at once
34 lines
999 B
Makefile
34 lines
999 B
Makefile
# $NetBSD: Makefile,v 1.10 2006/01/04 22:37:38 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= pbzip2-0.9.5
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= http://compression.ca/pbzip2/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://compression.ca/pbzip2/
|
|
COMMENT= Parallel implementation of the bzip2 block-sorting file compressor
|
|
|
|
PTHREAD_AUTO_VARS= yes
|
|
PTHREAD_OPTS+= require
|
|
|
|
CPPFLAGS+= -D_LARGEFILE_SOURCE=1
|
|
CPPFLAGS+= -D_FILE_OFFSET_BITS=64
|
|
LIBS+= -lbz2
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; \
|
|
${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} -o pbzip2 pbzip2.cpp ${LIBS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pbzip2 ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/pbzip2.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pbzip2
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/pbzip2
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pbzip2
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|