#!/bin/sh
#
# Copyright 2004 Dagmar d'Surreal <rivyqntzne@tznvy.pbz>
# Available under the terms of the GNU GPL.
#

NAME="rar"
VERSION="3.5.1"
REVISION="1"

PKG_SOURCEURL='http://www.rarlab.com/rar/rarlinux-$VERSION.tar.gz'
PKG_PATCH[0]='rar-3.5.1-makefilefix.diff'

PKG_DOCFILES="file_id.diz order.htm rarfiles.lst technote.txt license.txt rar.txt readme.txt whatsnew.txt"

. $DLG_ROOT/config
. $DLG_ROOT/SCRIPTS/dropline-functions.sh

prepare

applypatch 0 1 

analyzesource

# This package is obnoxiously binary-only, so no configure or make.

makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
