gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] /srv/bzr/gsrc/trunk r1043: clean up gnatsweb and make the


From: Brandon Invergo
Subject: [Gsrc-commit] /srv/bzr/gsrc/trunk r1043: clean up gnatsweb and make the build script actually do something
Date: Sat, 03 Nov 2012 01:30:40 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 1043
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Sat 2012-11-03 01:30:40 +0100
message:
  clean up gnatsweb and make the build script actually do something
added:
  gnu/gnatsweb/config.mk
modified:
  gnu/gnatsweb/Makefile
=== modified file 'gnu/gnatsweb/Makefile'
--- a/gnu/gnatsweb/Makefile     2010-06-10 20:16:29 +0000
+++ b/gnu/gnatsweb/Makefile     2012-11-03 00:30:40 +0000
@@ -1,16 +1,31 @@
 GARNAME = gnatsweb
 GARVERSION = 4.00
+HOME_URL = http://www.gnu.org/software/gnatsweb
+DESCRIPTION = Web interface for gnats
+
+######################################################################
 
 MASTER_SITES = $(MASTER_GNU)
-MASTER_SUBDIR = gnatsweb/
-
+MASTER_SUBDIR = $(GARNAME)/
 DISTFILES = $(DISTNAME).tar.gz
-# SIGFILES = 
-
-# BUILDDEPS = 
-# LIBDEPS = 
-
-HOME_URL = http://www.gnu.org/software/gnatsweb
-DESCRIPTION = Gnatsweb
-
-include ../../gar.lib/auto.mk
+SIGFILES = 
+INSTALL_SCRIPTS = $(WORKOBJ)/Makefile-DESTDIR
+
+BUILDDEPS = 
+LIBDEPS = gnats
+
+######################################################################
+
+include ../../gar.mk
+include config.mk
+
+CGI_DIR ?= $(packageprefix)/www/$(GARNAME)
+
+pre-install:
+       @sed -i -e 's|/usr/bin/perl|$(PERL)|' $(WORKSRC)/gnatsweb.pl
+       $(MAKECOOKIE)
+
+install-%/Makefile-DESTDIR:
+       install -d $(CGI_DIR)
+       $(MAKE) -C $* install CGI_DIR=$(DESTDIR)$(CGI_DIR)
+       $(MAKECOOKIE)

=== added file 'gnu/gnatsweb/config.mk'
--- a/gnu/gnatsweb/config.mk    1970-01-01 00:00:00 +0000
+++ b/gnu/gnatsweb/config.mk    2012-11-03 00:30:40 +0000
@@ -0,0 +1,4 @@
+## Configuration options for gnatsweb ##
+
+CONFIGURE_OPTS ?= PERL=/usr/bin/perl
+BUILD_OPTS ?=


reply via email to

[Prev in Thread] Current Thread [Next in Thread]