File: config

package info (click to toggle)
xpostitplus 2.3.1-10
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 464 kB
  • ctags: 661
  • sloc: ansic: 4,831; makefile: 527; sh: 70
file content (86 lines) | stat: -rw-r--r-- 3,230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Edit this file to configure debian/rules to build a package.
# No modification of debian/rules should be neccessary. (Famous last words!)
#
# File by Joey Hess <joeyh@master.debian.org>

# What is the name of this package?
package=xpostitplus

# Files that go in directories under /doc.
docs=changelog debian/xp2xpp.sh README
examples=
copyright=debian/copyright

# List here all executables that are produced, that we should run
# dpkg-shlibdeps on.
binfiles=xpostit+

# What file must exist in the current directory if the package is
# properly unpacked here?
test_file=FileList

# Does this package build from an Imakefile?
# If so, uncomment the line below and enter the filename of the Imakefile 
# to use. ("Imakefile" is often a good choice :-)
use_imakefile=y

# Does this package build from a Configure script?
# If so, uncomment the line below and enter the command to run to run the 
# Configure script (ie: "./Configure")
#use_configure=./Configure

# What commands to run to build the package?
define build_command
	$(MAKE)
	-cp History changelog
	-cp XPostitPlus-2.3.README README
#	-ln -s xpostit+ xpostit
endef

# What commands to run to clean up after a build?
define clean_command
	-$(MAKE) -i clean
endef

# List here any files that must be removed during "debian/rules clean"
# that clean_command doesn't take care of.
clean_files=changelog README xpostit Makefile

# List here any files that should be preserved during a build, and restored
# to their original state during a clean. For example, if the package comes
# with both an Imakefile and a Makefile, and xmkmf is run, list the original
# Makefile here so it will be backed up before it is overwritten my xmkmf.
preserve_files=

# What command to run to install the package into debian/tmp?
# You might want to edit the package's Makefile and add $(PREFIX) 
# to all the paths it installs files to. or, you can just write 
# your own install commands here instead.
#
# Note that debian/* and the files in /usr/share/doc will be installed 
# properly for you, you don't need to do that here.
#
define install_command
	install -d debian/tmp/usr/X11R6/bin
	install -s -m 755 xpostit+ debian/tmp/usr/X11R6/bin/
	cd debian/tmp/usr/X11R6/bin && ln -s xpostit+ xpostit
#	install -s -m 755 xpostit debian/tmp/usr/X11R6/bin/
	install -d debian/tmp/usr/X11R6/lib/X11/app-defaults
	install -m 644 XPostitPlus.ad debian/tmp/usr/X11R6/lib/X11/app-defaults/XPostitPlus
	install -d debian/tmp/usr/X11R6/man/man1
	install -m 644 xpostit+.man debian/tmp/usr/X11R6/man/man1/xpostit+.1
	install -d debian/tmp/usr/lib/menu
	install -m 644 debian/menu debian/tmp/usr/lib/menu/xpostitplus
	install -d debian/tmp/usr/X11R6/include/X11/pixmaps
	install -m 644 postit_note.xpm debian/tmp/usr/X11R6/include/X11/pixmaps
	cd debian/tmp/usr/X11R6/man/man1 && ln -s xpostit+.1.gz xpostit.1.gz
endef

# After being installed in debian/tmp, everything is chowned to root.root,
# and chmod g-ws is run on everyything. Enter below any chmod commands you
# need to run to set files to the proper permissions. This is where you
# can make programs be suid, etc.
# (Note that these commands will be run as root.)
define ch_commands
	chmod 644 debian/tmp/usr/share/doc/$(package)/*
endef