[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing to the games directory



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


Reply to: