wok annotate alien/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents 39e08df007ab
children
rev   line source
pascal@14779 1 # SliTaz package receipt.
pascal@14779 2
pascal@14779 3 PACKAGE="alien"
Hans-G?nter@20702 4 VERSION="8.95"
pascal@14779 5 CATEGORY="misc"
pascal@14779 6 SHORT_DESC="Converts between the rpm, dpkg, stampede slp, and slackware tgz file formats."
pascal@14779 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14779 8 LICENSE="GPL2"
Hans-G?nter@20702 9 TARBALL="${PACKAGE}_$VERSION.tar.xz"
pascal@14779 10 WEB_SITE="http://joeyh.name/code/alien/"
pascal@14779 11 WGET_URL="http://ftp.de.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
pascal@19019 12 #SUGGESTED="dpkg debhelper gcc make"
pascal@14779 13
pascal@14781 14 DEPENDS="perl rpm4 cpio"
pascal@14779 15 BUILD_DEPENDS=""
pascal@14779 16
pascal@24373 17 # What is the latest version available today?
pascal@24373 18 current_version()
pascal@24373 19 {
pascal@24373 20 wget -O - https://sourceforge.net/projects/alien-pkg-convert/files/release/ 2>/dev/null | \
pascal@24373 21 sed '/scope="row/!d;s|.*/alien_||;s|.tar.*||;q'
pascal@24373 22 }
pascal@24373 23
pascal@14779 24 # Rules to configure and make the package.
pascal@14779 25 compile_rules()
pascal@14779 26 {
pascal@14779 27 cd $src
pascal@14779 28 perl Makefile.PL &&
pascal@14779 29 make &&
pascal@14779 30 make DESTDIR=$DESTDIR install
pascal@14779 31 }
pascal@14779 32
pascal@14779 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14779 34 genpkg_rules()
pascal@14779 35 {
pascal@14779 36 cp -a $install/* $fs
pascal@14779 37 }