Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

davemor
Thursday, November 15th, 2007 at 3:25:27pm UTC 

  1. #!/usr/bin/make -f
  2.  
  3. include /usr/share/cdbs/1/rules/dpatch.mk
  4. include /usr/share/cdbs/1/rules/simple-patchsys.mk
  5.  
  6. config.status:
  7.         dh_testdir
  8.         ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)"
  9.  
  10. build:config.status
  11.         dh_testdir
  12.         $(MAKE)
  13.         touch [email protected]
  14.  
  15. clean::
  16.         dh_testdir
  17.         dh_testroot
  18.         rm -f build-stamp
  19.         -$(MAKE) distclean
  20.         # Add here commands to clean up after the build process.
  21.         dh_clean
  22.  
  23. install: build
  24.         dh_testdir
  25.         dh_testroot
  26.         dh_clean -k
  27.         dh_installdirs
  28.  
  29.         # Add here commands to install the package into debian/cpptest.
  30.         $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
  31.         mkdir debian/tmp/usr/lib/pkgconfig/
  32.         cp libcpptest.pc debian/tmp/usr/lib/pkgconfig/.
  33.  
  34.         # runtime package
  35.         dh_install -plibcpptest --autodest debian/tmp/usr/lib/lib*.so.*
  36.  
  37.         # developer package
  38.         dh_install -plibcpptest-dev --autodest debian/tmp/usr/lib/lib*.so
  39.         dh_install -plibcpptest-dev --autodest debian/tmp/usr/lib/lib*.a
  40.         dh_install -plibcpptest-dev --autodest debian/tmp/usr/lib/lib*.la
  41.         dh_install -plibcpptest-dev --autodest debian/tmp/usr/lib/pkgconfig
  42.         dh_install -plibcpptest-dev --autodest debian/tmp/usr/include
  43.  
  44. # Build architecture-dependent files here.
  45. binary-arch: build install
  46.         dh_testdir
  47.         dh_testroot
  48.         dh_installdocs
  49.         dh_installchangelogs ChangeLog
  50.         dh_link
  51.         dh_strip
  52.         dh_compress
  53.         dh_fixperms
  54.         dh_installdeb
  55.         dh_shlibdeps
  56.         dh_makeshlibs
  57.         dh_gencontrol
  58.         dh_md5sums
  59.         dh_builddeb
  60.  
  61.  
  62. binary: binary-indep binary-arch
  63. .PHONY: build clean binary-indep binary-arch binary install

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right