Thanks Vladislav and Guillem, your notes were really helpful. Now I'm
uderstanding debian packaging little better.

- Teemu

On 10/2/06, Guillem Jover <[EMAIL PROTECTED]> wrote:
On Sun, 2006-10-01 at 21:06:05 +0300, ext Teemu Harju wrote:
> I'm struggling trying to make a .deb package out of libupnp
> (http://sourceforge.net/projects/upnp/). It compiles nicely in the
> scratchbox ARM target, but when I try to make a package out of it with
> dpkg-buildpackage the package contains basically only the directories.

Have you checked <http://packages.qa.debian.org/libupnp>?

> Here's what I've done...
>
> 1) run dh_make and select the library option
> 2) edit the debian/control file
> 3) run dpkg-buildpackage -rfakeroot

> The debian/tmp directory then contains the compiled library and dev
> files, but the created .deb package does not contain those.

You'd have to use "dh_install --sourcedir=$(CURDIR)/debian/tmp" and
add a proper .install file.

> Is there something I'm doing wrong? libupnp installs nicely with
> "./configure --prefix=/usr && make && make install" so I think that,
> e.g., the debian/rules file wouldn't need anything special. Am I
> right?

Also I suppose you have DESTDIR already on make install.

regards,
guillem
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers



--
Teemu Harju
http://www.teemuharju.net
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to