#!/bin/sh

name="unace"
title="unACE"
package="unace"
version="1.2b"
build="1"
noarch="n"
build_info="Standard build."

info="Extracts, tests and viewes ACE archives."
desc="The unACE utility is a freeware program, distributed with source
code and developed for extracting, testing and viewing the
contents of archives created with the ACE archiver."
category="tools/archivizing"
environment="console/text"
contact="$name@packages.packware.gnu.pl"
vendor="The Packware Project"
vendor_id="pw"

requires=""
obsoletes=""
conflicts=""

docs_source="changes.log,file_id.diz,readme.txt"
docs_cwd=""

strip_bin="y"
reset_own="y"
reset_dir="y"
reset_fil="y"
delete_cat="y"

. /usr/src/tgz/lib/builder.defs

add_source http://members.aol.com/mlemke6413/${name}pub.zip .

apply_patch unace-cflags.pw.patch

parent_package="$package"
write_info main

cd $src1

cp unix/{makefile,gccmaked} .

make dep
do_make

copy unace $pkg_main/usr/bin

make_docs

make_package main

clean_up
