Re: Simulation software package maintainer is xmds, version 1.5-3
Hi Christian,
On Thu, 2006-11-23 at 16:22 +0100, Christian T. Steigies wrote:
> On Thu, Nov 23, 2006 at 03:50:40PM +0100, Rafael Laboissiere wrote:
> >
...
> I tried only briefly with cdbs, but I don't know how to change configure
> options with it. So I went back to the simple debhelper/binary package,
> where I can edit the rules a little more:
>
> ./configure \
> --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
> --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
> --bindir=\$${prefix}/bin --libdir=\$${prefix}/lib \
> --includedir=\$${prefix}/include \
> CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
>
> make install installs everything directly in /usr and not in the respective
> subdirectories. I could move things around in the rules, but I think it
> should be fixed upstream. Alas, I am not an autotools expert...
Did you do plain `make install'? If so, then it would fail. Instead
do
make install DESTDIR=debian/tmp
(check the generated Makefile to see how it works) followed by
dh_install --sourcedir=debian/tmp
Make sure you make the proper `.install' files in the debian
sub-directory e.g.,
debian/xdms-bin.install:
usr/bin/*
usr/share/man/man1/*
debian/xdms-data.install:
usr/share/xdms/*
debian/libxdms0.install:
usr/lib/*.so.*
debian/libxdms-dev.install
usr/lib/*.so
usr/lib/*.la
usr/lib/*.a
usr/include/xdms/*
(Please read the dh_install man page).
Yours,
--
___ | Christian Holm Christensen
|_| | -------------------------------------------------------------
| | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91
_| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91
_| Denmark Office: (+45) 353 25 404
____| Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
| |
Reply to: