4 CONFIGURE_OPTION=--disable-static \
6 --with-html-dir=/tmp/dump
9 CFLAGS += -Wall -g -fPIC
10 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
16 # shared library versions, option 1
20 LDFLAGS += -Wl,--hash-style=both -Wl,--as-needed
22 config.status: configure
24 # Add here commands to configure the package.
26 ./configure --prefix=/usr $(CONFIGURE_OPTION) CFLAGS="$(CFLAGS)" LDFLAG="$(LDFLAGS)"
33 build-stamp: config.status
36 # Add here commands to compile the package.
44 rm -f build-stamp stamp-h1
46 # Add here commands to clean up after the build process.
57 # Add here commands to install the package into debian/tmp
58 $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
59 execstack -c $(CURDIR)/debian/tmp/usr/lib/gstreamer-0.10/libgstffmpeg.so
61 # Build architecture-independent files here.
62 binary-indep: build install
63 # We have nothing to do by default.
65 # Build architecture-dependent files here.
66 binary-arch: build install
72 dh_install --sourcedir debian/tmp --list-missing
75 dh_strip --dbg-package=gstreamer0.10-ffmpeg-dbg
84 binary: binary-indep binary-arch
85 .PHONY: build clean binary-indep binary-arch binary install