[maemo-developers] [maemo-developers] automake

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Sat Aug 27 11:47:19 EEST 2005
Thought I'd share some hints for reference, these are not so common
knowledge among "normal" users.

2005/8/26, Timo Steuerwald <timo.steuerwald at gmx.de>:
> Kalle Vahlman wrote:
> 
> >You can probably use the package form Debian, if you really need the
> >1.6 version.
> Ups, yes. I have forgotten this possibility, I already thought I must
> build it myself from source.

If a package is not compatible with the Maemo environment (optional
dependancies missing, compiled with wrong options or something like
that), you also try to recompile the package yourself. To do this you
can simply issue the command

  fakeroot apt-get  source -b <package>

if you have the approperiate deb-src entry in apt's sources.list file.
Any source code distribution that has the debian directory can be
build as a debian package with

  fakeroot dpkg-buildpackage

in the source directory. Add a -b option if you only want binary packages.

> >Find package which contains a file:
> >  dpkg -S <file>
> >
> >List files in a package:
> >  dpkg -L <package>
> >
> Thanks a lot! I didn't know that this is also possible with dpkg.

Apt and dpkg are powerful tools when used right :)

-- 
Kalle Vahlman, zuh at iki.fi

More information about the maemo-developers mailing list