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 game made with the LÖVE framework and i want it into a .deb file so it can be easily installed by others and easily findable through the Unity dash for example. I also have the LÖVE framework love_0.7.2.deb which i want to be in the deb file also somehow.

Files that i have:
* game_icon.png
* game .desktop file
* the_game.love
* love_0.7.2.deb

Could someone explain to me how to do this?


This is how it look now
http://www.speedyshare.com/3qhHQ/not-pacman.tar.gz

share|improve this question

1 Answer 1

In order to make one package depend on another, you need to specify the relationship in the debian/control file. You can read about the syntax of this file in the Ubuntu Packaging Guide. The rest of that guide will probably be helpful in giving you an overview of packaging programs for Ubuntu.

Briefly though, your debian/control file might look something like:

Source: my-game
Section: devel
Priority: optional
Maintainer: Jane Doe <packager@example.com>
Standards-Version: 3.9.3
Build-Depends: debhelper (>= 7)
Homepage: http://www.gnu.org/software/hello/

Package: my-game
Architecture: any
Depends: ${shlibs:Depends}, love (>= 0.7.2)
Description: a game made with the LÖVE framework
 This game is really amazing.
 .
 It has many features.

Especially note the line:

Depends: ${shlibs:Depends}, love (>= 0.7.2)

share|improve this answer
    
I have never created a deb file before. I have created this now speedyshare.com/3qhHQ/not-pacman.tar.gz . Does that look right? if so how do i make it into a deb file? –  Jeggy Jan 16 '13 at 14:25
    
@Jeggy Start out by the packaging guide already suggested. If you have a specific question, please ask a new question. Also, packaging isn't always a very easy task and is a job on its own. Very "simple to compile" applications are generally easy to package as well (e.g. ./confgure && make && make install ones using GNU Autotools) are pretty easy, though. Debhelper has a lot of heuristic in these very generic cases. –  gertvdijk Jan 16 '13 at 14:46

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.