wok-next view mercurial/receipt @ rev 20856

Update libfm-extra, menu-cache, libfm, pcmanfm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 17:13:37 2018 +0300 (2018-06-26)
parents 0e7893ac206d
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mercurial"
4 VERSION="4.5"
5 CATEGORY="development"
6 SHORT_DESC="Revision tools system"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.mercurial-scm.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/mercurial.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://www.mercurial-scm.org/release/$TARBALL"
15 BUILD_DEPENDS="python-dev patch openssl-dev glib-dev gettext python-docutils"
17 compile_rules() {
18 make build &&
19 make doc &&
20 make PREFIX=/usr install-bin install-doc || return 1
22 install -dm0755 $install/etc/mercurial
23 cat > $install/etc/mercurial/hgrc <<EOF
24 [web]
25 cacerts = /etc/ssl/ca-bundle.crt
26 EOF
28 # Examples
29 install -Dm0755 $src/hgweb.cgi $install/usr/share/examples/mercurial/hgweb.cgi
30 install -Dm0755 $stuff/hgwebdir.cgi $install/usr/share/examples/mercurial/hgwebdir.cgi
31 install -Dm0644 $stuff/lighttpd-hg-vhost.conf $install/usr/share/examples/mercurial/lighttpd-hg-vhost.conf
33 # Config file for hgweb
34 install -Dm0644 $stuff/hgweb.config $install/etc/mercurial/hgweb.config
35 }
37 genpkg_rules() {
38 copy @std
39 DEPENDS="python patch openssl cacerts"
40 CONFIG_FILES="/etc/mercurial/hgweb.config"
41 PROVIDE="hg"
42 }