#!/usr/bin/make -f #export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk #CFLAGS += -Wall -g -fPIC #CXXFLAGS += -fPIC ifeq ($(DEB_BUILD_ARCH_OS),kfreebsd) ALSA = --without-alsa endif ifeq ($(DEB_BUILD_ARCH_OS),hurd) ALSA = --without-alsa endif %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ --prefix=/usr \ --exec-prefix=/usr \ --mandir=\$${prefix}/share/man \ --sysconfdir=/etc \ --datadir=\$${prefix}/share \ --libdir=\$${prefix}/lib \ --bindir=\$${prefix}/bin \ --infodir=\$${prefix}/share/info \ --without-x11 \ --with-dir-suffix= \ --with-ncurses \ --with-adplug \ --without-update-mime-database \ --without-update-desktop-database \ $(ALSA) # --with-freepats=\$${prefix}/share/midi/freepats \ override_dh_auto_build: $(MAKE) override_dh_autoreconf: @echo BLIP #install: build # $(MAKE) install DESTDIR=$(CURDIR)/debian/opencubicplayer # -mv debian/opencubicplayer/usr/share/doc/ocp/html/* \ # debian/opencubicplayer-doc/usr/share/doc/opencubicplayer-doc/html/ # -rm -rf debian/opencubicplayer/usr/share/doc/ocp # cp debian/opencubicplayer32.xpm debian/opencubicplayer/usr/share/pixmaps/opencubicplayer.xpm ## cp goodies/pack/pack $(CURDIR)/debian/opencubicplayer/usr/bin/pak # dh_link -popencubicplayer usr/share/man/man1/ocp.1 usr/share/man/man1/xocp.1 # dh_link -popencubicplayer usr/share/man/man1/ocp.1 usr/share/man/man1/ocp-curses.1 # dh_link -popencubicplayer usr/share/man/man1/ocp.1 usr/share/man/man1/ocp-sdl2.1 # dh_link -popencubicplayer usr/share/man/man1/ocp.1 usr/share/man/man1/ocp-vcsa.1 # dh_link -popencubicplayer usr/share/man/man1/ocp.1 usr/share/man/man1/ocp-x11.1