File: rules

package info (click to toggle)
liblastfm-java 1:0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 472 kB
  • ctags: 971
  • sloc: java: 3,977; xml: 38; sh: 11; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

JAVA_HOME := /usr/lib/jvm/default-java

install/liblastfm-java::
	install -m 644 -D last.fm-bindings-0.1.0.jar \
	    $(DEB_DESTDIR)/usr/share/java/lastfm-$(DEB_UPSTREAM_VERSION).jar
	dh_link /usr/share/java/lastfm-$(DEB_UPSTREAM_VERSION).jar \
	    /usr/share/java/lastfm.jar

get-orig-source:
	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download