From 77d92b9eb02d0e5e0a49b7342132bfcb690731d5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 30 Jul 2012 15:05:48 +0200 Subject: [PATCH] New package: fossil. --- srcpkgs/fossil/fossil.rshlibs | 5 +++++ srcpkgs/fossil/template | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/fossil/fossil.rshlibs create mode 100644 srcpkgs/fossil/template diff --git a/srcpkgs/fossil/fossil.rshlibs b/srcpkgs/fossil/fossil.rshlibs new file mode 100644 index 00000000000..24fb2801bbc --- /dev/null +++ b/srcpkgs/fossil/fossil.rshlibs @@ -0,0 +1,5 @@ +libsqlite3.so.0 +libz.so.1 +libssl.so.1 +libcrypto.so.1 +libc.so.6 diff --git a/srcpkgs/fossil/template b/srcpkgs/fossil/template new file mode 100644 index 00000000000..2eaf5fb241a --- /dev/null +++ b/srcpkgs/fossil/template @@ -0,0 +1,30 @@ +# Template file for 'fossil' +pkgname=fossil +version=20120317175325 +wrksrc="fossil-src-${version}" +revision=1 +makedepends="openssl-devel readline-devel sqlite-devel" +short_desc="Simple, high-reliability, distributed software configuration management" +maintainer="Juan RP " +license="BSD" +homepage="http://www.fossil-scm.org" +distfiles="http://www.fossil-scm.org/download/fossil-src-${version}.tar.gz" +checksum=8ea3462a29e645fe0bd062d5742de4e1921a38acced5107d08465821d95aa9b0 +long_desc=" + Fossil is an easy-to-use Distributed Source Control Management system (DSCM) + which supports access and administration over HTTP CGI or via a built-in HTTP + server, has a built-in wiki, built-in file browsing, a built-in tickets system, + etc." + +do_build() { + ./configure --prefix=/usr --disable-internal-sqlite + make ${makejobs} +} + +do_install() { + vmkdir usr/bin + make DESTDIR=${DESTDIR} install + + # Install license. + vinstall COPYRIGHT-BSD2.txt 644 usr/share/licenses/${pkgname} LICENSE +}