summaryrefslogtreecommitdiffstats
path: root/build
blob: 0dab613ef927f48042c44922593559f560d2ffc8 (plain)
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
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--with-initscriptdir=no \
		--without-drivedbdir \
		--without-update-smart-drivedb \
		--without-gnupg
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	sed '/$$Id:/d' dest/etc/smartd.conf 1>dest/etc/smartd.conf~
	mv dest/etc/smartd.conf~ dest/etc/smartd.conf
	rm dest/usr/share/doc/smartmontools/AUTHORS
	rm dest/usr/share/doc/smartmontools/COPYING
	rm dest/usr/share/doc/smartmontools/ChangeLog*
	rm dest/usr/share/doc/smartmontools/INSTALL
	rm dest/usr/share/doc/smartmontools/NEWS
	rm dest/usr/share/doc/smartmontools/README
	rm dest/usr/share/doc/smartmontools/TODO
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps