9be1b1ceda
Changes in 0.9.4 (Aug 30, 2005) - Fixed major bug that prevented pbzip2 from uncompressing files created with a BWT block size other than default 900k (oops!) - Fixed some bugs in the command line parser - Code cleanup - Updated RPM spec to match Fedora Extras policy Changes in 0.9.3 (Aug 22, 2005) - Added sanity check to ensure integers are the size we expect - Ported code to compile under MinGW in Windows - Small code cleanup - Added ChangeLog - Added man page - Added AUTHORS file - Renamed LICENCE.txt to COPYING - Renamed README.txt to README - Updated RPM spec file in preparation for inclusion into Fedora Extras - Moved ChangeLog info from pbzip2.cpp into this file - Removed extra spaces/tabs in pbzip2.cpp
34 lines
980 B
Makefile
34 lines
980 B
Makefile
# $NetBSD: Makefile,v 1.9 2005/09/05 16:05:40 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= pbzip2-0.9.4
|
|
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 man/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}/man/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"
|