source: oracle-java8-installer/trunk/fuentes/debian/rules @ 6493

Last change on this file since 6493 was 6493, checked in by mabarracus, 21 months ago

Package Java 8u151

  • Property svn:executable set to *
File size: 529 bytes
Line 
1#!/usr/bin/make -f
2# -*- makefile -*-
3
4# Uncomment this to turn on verbose mode.
5#export DH_VERBOSE=1
6
7%:
8        dh $@
9
10override_dh_builddeb:
11        dh_builddeb -- -Zgzip
12
13override_dh_install: custom-files
14
15        dh_install
16
17# Build architecture-dependent files here.
18custom-files:
19
20ifeq ($(DEB_BUILD_ARCH), i386)
21        cp jdk-*-i586.tar.gz ./oracle-java8-installer.install-files/var/cache/oracle-jdk8-installer/
22endif
23
24ifeq ($(DEB_BUILD_ARCH), amd64)
25        cp jdk-*-x64.tar.gz ./oracle-java8-installer.install-files/var/cache/oracle-jdk8-installer/
26endif
Note: See TracBrowser for help on using the repository browser.