wok-next annotate 0install/receipt @ rev 20424
linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 12 17:02:57 2018 +0200 (2018-01-12) |
parents | 45507bfb2b0d |
children | a8e106e92cc2 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="0install" |
devl547@13767 | 4 VERSION="1.13" |
pascal@13591 | 5 SOURCE="zeroinstall-injector" |
pascal@13591 | 6 CATEGORY="misc" |
pascal@13591 | 7 SHORT_DESC="A decentralised cross-distribution software installation system." |
pascal@13591 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
pascal@13776 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13591 | 11 WEB_SITE="http://0install.net/" |
pascal@13776 | 12 WGET_URL="http://downloads.sf.net/project/zero-install/$PACKAGE/$VERSION/$TARBALL" |
pascal@13591 | 13 |
pascal@13591 | 14 DEPENDS="pygtk xdg-utils" |
pascal@13591 | 15 BUILD_DEPENDS="python pygobject" |
pascal@13591 | 16 |
pascal@13591 | 17 # Rules to configure and make the package. |
pascal@13591 | 18 compile_rules() |
pascal@13591 | 19 { |
pascal@13591 | 20 python setup.py install --root=$DESTDIR |
al@18803 | 21 # move man pages in a right place |
al@18803 | 22 mv $install/usr/man $install/usr/share |
pascal@13591 | 23 } |
pascal@13591 | 24 |
al@18077 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18077 | 26 genpkg_rules() |
pascal@13591 | 27 { |
pascal@13591 | 28 cp -a $install/* $fs |
pascal@13591 | 29 } |