nulib2 stable port information

Package: nulib2
Version: 2.2.0
Revision: 2
Description: Apple II ShrinkIt archive utility
DescDetail: <<
NuLib2 is a command-line archive utility, along the lines of "PKZIP".
It allows you to perform many common operations on NuFX archives, such
as those created by the Apple II "ShrinkIt" utility, as well as Binary
II archives. Files with extensions "SHK", "SDK", "BXY", "BSE", "SEA",
"BNY", and "BQY" are handled.

You can add, delete, extract, test, and list files in a NuFX archive.
Compressed disk images can be extracted to files, and vice-versa,
making it a handy utility to have when using an Apple II emulator.
<<
Maintainer: Daniel Johnson
License: BSD
Homepage: http://www.nulib.com/

Source: mirror:sourceforge:%n/nulibdist-220.tar.gz
SourceDirectory: nulib2-220
Source-MD5: d77046845bbade85fba5d93a7628c10a

PatchScript: <<
#!/bin/bash -ev
darwinvers=`uname -r | cut -f 1 -d .`
if [ "$darwinvers" = 11 ]; then
perl -pi -e 's,extern inline,inline,; s,/\*\*/,inline,' ../nufxlib-220/NufxLibPriv.h
fi
<<

Depends: bzip2-shlibs
BuildDepends: bzip2-dev

UseMaxBuildJobs: false

ConfigureParams: --enable-bzip2 --mandir='${prefix}/share/man'

CompileScript: <<
cd ../nufxlib-220 && ./configure %c && make
./configure %c && make
<<

DocFiles: ChangeLog.txt COPYING README.txt ../nufxlib-220/COPYING-LIB ../nufxlib-220/NOTES.txt