dpkg-buildpackage: passing ./configure options?
Hi all
I'm using dpkg-buildpackage to auto build a copy of lighttpd for use on my system. It works great, though I need to pass some commands to ./configure to enable some modules not enabled by default. Can anyone tell me how I'd do this? Thanks |
I think you'd need to make a modified lighttpd_version.diff.gz because IIRC dpkg-buildpackage will unpack lighttpd_version.orig.tar.gz in a temporary build directory and then apply the lighttpd_version.diff.gz before starting the build.
I haven't really dug into the debian package build process, maybe there are some dpkg tools or environment options that you could use. |
I don't know about builing packages from scratch, but if you are builidng from a source package you should edit the following file in the source directory: DEBIAN/rules
|
confirmed- editing ./DEBIAN/rules works like a charm!
Quote:
neocookie@ I know I'm 3 years late on this comeback (though it can't be helped, since the need wasn't presented until now) -- I found this answer thanks to your thread, especially thanks to saman007uk, but ultimately, google. the key to finding these kind of things via google (IMLE) is to seek out results that are on forums and blogs. 99% of the poweruser/linux problems I've had (and couldn't solve on my own) were solved through google search results, with 70% of the answers found tnrough forums like LQ, and ~29 % through blogs. (the remaining 1 % was through IRC) |
All times are GMT -5. The time now is 08:30 AM. |