Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a few binary files: foo, bar.so, and foo.lnk. I want to make a deb that will extract foo to /usr/share/foo/foo, bar to that same directory, and foo.lnk to /usr/share/applications. I dont want to include any source and there are a few dependencies that I need to make sure are installed.

I've found some resources such as http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html and https://wiki.debian.org/IntroDebianPackaging . The problem is that they are guides meant to include the source. Furthermore, I really dont understand how I specify where to extract certain files to.

share|improve this question

1 Answer 1

I found a relativly simple way to do it, all thats missing from that are how to run the pre-install and post-install scripts. (And if theres a way to add an uninstall script).

http://ubuntuforums.org/showthread.php?t=910717

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Braiam Dec 26 '13 at 2:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.