From 34d48358c9bd3ee5954f2af79a13d9b7888647c1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 27 Nov 2009 05:01:49 +0100 Subject: [PATCH] Added mercurial-1.4 build template. --HG-- extra : convert_revision : 3b210c4cb12a15b54e6ff5904d114badd24d2f76 --- srcpkgs/mercurial/template | 60 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 srcpkgs/mercurial/template diff --git a/srcpkgs/mercurial/template b/srcpkgs/mercurial/template new file mode 100644 index 00000000000..03876dc183b --- /dev/null +++ b/srcpkgs/mercurial/template @@ -0,0 +1,60 @@ +# Template file for 'mercurial' +pkgname=mercurial +version=1.4 +distfiles="http://mercurial.selenic.com/release/$pkgname-$version.tar.gz" +build_style=python-module +short_desc="Fast, lightweight source control management system" +maintainer="Juan RP " +checksum=0726661abe30421019b1c2d3486e75fcedd059033b659c76c531038b6113c7c1 +long_desc=" + Mercurial is a fast, lightweight Source Control Management system + designed for efficient handling of very large distributed projects. + + Fast + * Extremely high-performance delta-compressed storage scheme + * Optimized for disk layout and access efficiency + * Complete cross-indexing of files and changesets + * Bandwidth and CPU efficient HTTP and SSH sync protocols + + Scalable + * Distributed development model supports unlimited numbers + of developers + * Allows arbitrary merging between developer branches + * Doesn't significantly degrade with large numbers of files + or changesets + * No waiting for locks! + + Robust + * SHA1 integrity checking on repository data + * Append-only storage model with transaction journalling + * Fast full-repository verification + * Convenient backup + + Easy to use + * Most commands are familiar to users of CVS and other systems + * Built-in command help + * Integrated stand-alone web interface + * Works with various GUI tools + + Easy to adopt + * Runs on UNIX, MacOS X, and Windows + * Conversion tools available for many popular SCMs + * Allows a variety of usage models + * Supports user-defined hooks and extensions + + Free + * Source code available under the GPL license + * Actively community supported and developed" + +noarch=yes +Add_dependency full python +Add_dependency build gettext + +post_install() +{ + cd ${wrksrc} || return 1 + install -d ${DESTDIR}/usr/share/man/man1 + install -d ${DESTDIR}/usr/share/man/man5 + install -m 644 doc/*.1 ${DESTDIR}/usr/share/man/man1 + install -m 644 doc/*.5 ${DESTDIR}/usr/share/man/man5 +}