| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
include /usr/share/dpkg/architecture.mk |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
# Detect which package is provided by compiz-core: |
| 10 |
COMPIZCORE_DEPENDS := $(shell dpkg-query --showformat='$${Provides}\n' -W compiz-core) |
| 11 |
PACKAGE := compiz-plugins-extra |
| 12 |
|
| 13 |
override_dh_auto_configure: |
| 14 |
intltoolize --copy --force --automake |
| 15 |
dh_auto_configure -- --disable-static --libdir=/usr/lib |
| 16 |
|
| 17 |
override_dh_install: |
| 18 |
# remove unneeded .la files |
| 19 |
find $(CURDIR)/debian -type f -name '*.la' -print0 | xargs -0 rm -f |
| 20 |
dh_install |
| 21 |
mkdir debian/compiz-plugins-extra/usr/lib/$(DEB_HOST_MULTIARCH) |
| 22 |
mv debian/compiz-plugins-extra/usr/lib/pkgconfig debian/compiz-plugins-extra/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig |
| 23 |
|
| 24 |
override_dh_gencontrol: |
| 25 |
dh_gencontrol -- -Vcompizcore:Depends=$(COMPIZCORE_DEPENDS) |