2009-11-27 05:01:49 +01:00
|
|
|
# Template file for 'mercurial'
|
|
|
|
pkgname=mercurial
|
2013-05-15 22:13:46 +02:00
|
|
|
version=2.6.1
|
2012-07-02 20:20:37 +02:00
|
|
|
revision=1
|
2009-11-27 05:01:49 +01:00
|
|
|
build_style=python-module
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="python-devel"
|
2009-11-27 05:01:49 +01:00
|
|
|
short_desc="Fast, lightweight source control management system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-04 14:44:23 +02:00
|
|
|
license="GPL-2"
|
2012-07-02 20:20:37 +02:00
|
|
|
homepage="http://mercurial.selenic.com"
|
2012-09-04 15:39:30 +02:00
|
|
|
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
|
2013-05-15 22:13:46 +02:00
|
|
|
checksum=b6413aa339fd91a86288df7cf4f9db9bf3443b1ff55e8118530fdb9e8c788e64
|
2009-11-27 05:01:49 +01:00
|
|
|
|
2013-05-15 22:15:54 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends="python-devel"
|
|
|
|
fi
|
|
|
|
|
2012-01-10 09:48:11 +01:00
|
|
|
post_install() {
|
2012-02-28 23:57:16 +01:00
|
|
|
vmkdir usr/share/man/man1
|
|
|
|
vmkdir usr/share/man/man5
|
|
|
|
install -m644 doc/*.1 ${DESTDIR}/usr/share/man/man1
|
|
|
|
install -m644 doc/*.5 ${DESTDIR}/usr/share/man/man5
|
2009-11-27 05:01:49 +01:00
|
|
|
}
|
2013-04-14 04:24:51 +02:00
|
|
|
|
|
|
|
mercurial_package() {
|
|
|
|
pycompile_module="mercurial hgext"
|
|
|
|
pkg_install() {
|
2013-05-03 20:13:30 +02:00
|
|
|
vmove all
|
2013-04-14 04:24:51 +02:00
|
|
|
}
|
|
|
|
}
|