wok-6.x view unrar/receipt @ rev 15716

util-linux-eject: add depends,remove post_install
author Richard Dunbar <mojo@slitaz.org>
date Wed Dec 25 00:55:35 2013 +0000 (2013-12-25)
parents af022550edde
children 83e42616e3dc
line source
1 # SliTaz package receipt.
3 PACKAGE="unrar"
4 VERSION="0.0.1"
5 CATEGORY="utilities"
6 SHORT_DESC="The free unrar"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://gna.org/projects/unrar/"
11 WGET_URL="http://download.gna.org/unrar/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }