wok view 0install/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (5 weeks ago) |
parents | 73f36875e5a7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="0install"
4 VERSION="1.13"
5 SOURCE="zeroinstall-injector"
6 CATEGORY="misc"
7 SHORT_DESC="A decentralised cross-distribution software installation system."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://0install.net/"
12 WGET_URL="https://downloads.sf.net/project/zero-install/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="pygtk xdg-utils"
15 BUILD_DEPENDS="python pygobject"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/0install/0install/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 # move man pages in a right place
29 mv $install/usr/man $install/usr/share
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }