File: rules

package info (click to toggle)
gmpc-plugins 11.8.16-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,104 kB
  • ctags: 1,828
  • sloc: sh: 10,243; ansic: 7,446; makefile: 351
file content (30 lines) | stat: -rwxr-xr-x 642 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
#!/usr/bin/make -f

SRC_NAME:=gmpc-plugins
DEV_NAME:=$(SRC_NAME)-dev
DBG_NAME:=$(SRC_NAME)-dbg
DEB_DH_STRIP_ARGS:=--dbg-package=$(DBG_NAME)

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-lyricwiki \
		--disable-jamendo \
		--disable-magnatune \
		--disable-tagedit \
		--disable-wikipedia \
		--disable-albumview

override_dh_strip:
	dh_strip $(DEB_DH_STRIP_ARGS)

override_dh_install:
	mv debian/tmp/usr/lib/gmpc/plugins/awnplugin.so \
	   debian/tmp/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/gmpc/plugins
	dh_install

override_dh_clean:
	dh_clean
	rm -f config.status config.log