wok-next view mercurial/receipt @ rev 20599

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 17 00:06:41 2018 +0300 (2018-04-17)
parents 36f7c3d0cb91
children b1a1deb20f42
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mercurial"
4 VERSION="4.3.1"
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 }