--- Michael Halcrow <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 10, 2004 at 05:15:56PM -0600, Ashley Oviatt wrote:
>> Ok, I have a question about this apt-get install
>> business.
>>
>> What do you do if you need/want to add configuration
>> flags to a program? I mean php has about 100 different
>> things you can add/modify/delete during the ./configure
>> portion of the install (ie --with-gd etc.)
>>
>> So, using apt-get, how would you add all those little
>> flags to your program? I've always wanted to use apt-get,
>> but I just can't figure that out.
>
> apt-get source blah
> cd blah/debian
> emacs rules
> *hack line w/ configure*
> cd ..
> dpkg-buildpackage
> cd .. dpkg -i blah.deb
>
> Mike
The process for apt-rpm is very similar:
apt-get source --download-only foo
rpm -ivh foo.src.rpm
cd /usr/src/redhat/SPEC
vi foo.spec
# hack the section with configuration options
rpmbuild -bb --target athlon foo.spec
cd /usr/src/redhat/RPMS/athlon
rpm -Uvh foo.athlon.rpm
(naturally, s/athlon/your cpu/g :)
=====
PGP Key ID: 071B173D
Fingerprint: ED30 B048 6833 56B4 28C0 CE52 F12B 884A 071B 173D
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list