wok annotate alien/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (10 days ago) |
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 } |