[plexus-interpolation] 02/14: install into /usr/share/maven-repo
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Jul 8 22:38:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository plexus-interpolation.
commit 25dfaf63d259805a8fc0d1ff5ecaf35c590237d4
Author: Torsten Werner <twerner at debian.org>
Date: Sun Dec 7 20:33:58 2008 +0000
install into /usr/share/maven-repo
---
debian/control | 3 ++-
debian/patches/pom.diff | 27 +++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 8 ++++++--
4 files changed, 36 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 66a8e1d..9b8eb9f 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: libs
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Torsten Werner <twerner at debian.org>
-Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk, maven-ant-helper
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk, maven-ant-helper,
+ quilt
Standards-Version: 3.8.0
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-interpolation
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-interpolation/
diff --git a/debian/patches/pom.diff b/debian/patches/pom.diff
new file mode 100644
index 0000000..87a005a
--- /dev/null
+++ b/debian/patches/pom.diff
@@ -0,0 +1,27 @@
+Index: plexus-interpolation-1.7/pom.xml
+===================================================================
+--- plexus-interpolation-1.7.orig/pom.xml 2008-12-07 21:25:09.000000000 +0100
++++ plexus-interpolation-1.7/pom.xml 2008-12-07 21:04:45.000000000 +0100
+@@ -1,12 +1,15 @@
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
++ <!--
+ <parent>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus</artifactId>
+ <version>1.0.11</version>
+ </parent>
++ -->
+
+ <artifactId>plexus-interpolation</artifactId>
++ <groupId>org.codehaus.plexus</groupId>
+ <version>1.7</version>
+
+ <name>Plexus Interpolation API</name>
+@@ -94,4 +97,4 @@
+ </profile>
+ </profiles>
+
+-</project>
+\ No newline at end of file
++</project>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7740e23
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pom.diff
diff --git a/debian/rules b/debian/rules
index ec62682..16baed7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
PACKAGE := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed "s,Version: \(.*\)-.*,\1,g")
@@ -15,6 +16,9 @@ API_DOCS := build/api
get-orig-source:
uscan --force-download --rename
+REPO := /usr/share/maven-repo
+DEST := $(REPO)/org/codehaus/plexus
+
binary-post-install/lib$(PACKAGE)-java::
- dh_install -plib$(PACKAGE)-java build/*.jar /usr/share/java/
- dh_link -plib$(PACKAGE)-java /usr/share/java/$(PACKAGE)-$(VERSION).jar /usr/share/java/$(PACKAGE).jar
+ dh_install build/*.jar $(DEST)/$(PACKAGE)/$(VERSION)/
+ install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).pom
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-interpolation.git
More information about the pkg-java-commits
mailing list