On Wed, Apr 4, 2012 at 7:48 AM, Christopher Howard wrote:

> Thank you everyone for the help. Hopefully I can get away with asking
> two questions in one day: I was able to successfully package a game
> inside a .deb; however, lintian is giving me the error:
> "package-section-games-but-contains-no-game" and the binary is being
> installed to /usr/bin instead of /usr/games. Is there some one-liner
> that I am supposed to put in one of the debian/* files so the .deb is
> built to install stuff to the games directory? The software is properly
> wrapped with autoconf/automake so it should be simply a matter of having
> it pass in the correct --bindir value.

If you are using dh then something like this:

%:
        dh --with autotools_dev $@ --parallel

override_dh_auto_configure:
    dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games

If you are packaging games, you might want to join the games team:

http://wiki.debian.org/Games/Team

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caktje6e9ouot+6w+f2uz4kgvmaw+3vzp85aoh1aq+1ds0h1...@mail.gmail.com

Reply via email to