wok view alien/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 39e08df007ab
children
line source
1 # SliTaz package receipt.
3 PACKAGE="alien"
4 VERSION="8.95"
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.xz"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/alien-pkg-convert/files/release/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/alien_||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 perl Makefile.PL &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }