wok view alien/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents a4586533487d
children fa0a227b0380
line source
1 # SliTaz package receipt.
3 PACKAGE="alien"
4 VERSION="8.89"
5 CATEGORY="misc"
6 SHORT_DESC="Converts between the rpm, dpkg, stampede slp, and slackware tgz file formats."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_$VERSION.tar.gz"
10 WEB_SITE="http://joeyh.name/code/alien/"
11 WGET_URL="http://ftp.de.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
12 SUGGESTED="dpkg debhelper gcc make"
14 DEPENDS="perl rpm4 cpio"
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }