wok-next annotate unrar/receipt @ rev 6352

Up: bind, bind-client, bind-dev, libind to 9.7.1-P2.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Sep 20 22:21:14 2010 +0000 (2010-09-20)
parents
children af022550edde
rev   line source
gokhlayeh@5969 1 # SliTaz package receipt.
gokhlayeh@5969 2
gokhlayeh@5969 3 PACKAGE="unrar"
gokhlayeh@5969 4 VERSION="0.0.1"
gokhlayeh@5969 5 CATEGORY="utilities"
gokhlayeh@5969 6 SHORT_DESC="The free unrar"
gokhlayeh@5969 7 MAINTAINER="gokhlayeh@mailoo.org"
gokhlayeh@5969 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@5969 9 WEB_SITE="https://gna.org/projects/unrar/"
gokhlayeh@5969 10 WGET_URL="http://download.gna.org/unrar/$TARBALL"
gokhlayeh@5969 11
gokhlayeh@5969 12 # Rules to configure and make the package.
gokhlayeh@5969 13 compile_rules()
gokhlayeh@5969 14 {
gokhlayeh@5969 15 cd $src
gokhlayeh@5969 16 ./configure \
gokhlayeh@5969 17 --prefix=/usr \
gokhlayeh@5969 18 --infodir=/usr/share/info \
gokhlayeh@5969 19 --mandir=/usr/share/man \
gokhlayeh@5969 20 $CONFIGURE_ARGS &&
gokhlayeh@5969 21 make && make DESTDIR=$PWD/_pkg install
gokhlayeh@5969 22 }
gokhlayeh@5969 23
gokhlayeh@5969 24 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5969 25 genpkg_rules()
gokhlayeh@5969 26 {
gokhlayeh@5969 27 mkdir -p $fs/usr
gokhlayeh@5969 28 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@5969 29 }
gokhlayeh@5969 30