[HaikuPorts-devs] yasm 0.8.0 released
Urias McCullough
umccullough at gmail.com
Sat Apr 18 18:30:42 PDT 2009
On Sat, Apr 18, 2009 at 2:07 PM, Joseph Prostko
<joe.prostko+haiku at gmail.com> wrote:
> On Sat, Apr 18, 2009 at 8:21 PM, Urias McCullough <umccullough at gmail.com> wrote:
>> On Sat, Apr 18, 2009 at 10:50 AM, scott mc <scottmc2 at gmail.com> wrote:
>>> For most packages this trick will work:
>>> Look under the section about building binaries:
>>> http://ports.haiku-files.org/wiki/PortingTips#PortingTips
>>> Be sure to test that it extracts where it's supposed to. For packages
>>> that don't have a make install option you'll have to experiment with
>>> other methods. Openssl was a tricky one as i recall.
>>
>> diff_zip is your friend!
>>
>> You can add diff_zip target to your UserBuildConfig to place it in
>> your bin - then use it per the instructions that Ingo has mentioned in
>> the past (I apologize that I don't have this info handy)
>>
>> It monitors all changes on the director(ies) you choose and zips all
>> added/modfiied files up into a single zip when you tell it to
>> complete.
>
> Thanks for mentioning this. I'll be sure to check this out, as
> OpenSSL did indeed appear to be a pain (even though they made it
> "sound" as easy as setting prefixes a certain way). I'll search
> around for Ingo's mention of diff_zip and try to incorporate it in
> appropriate cases.
http://www.freelists.org/post/haiku-development/Compiling-autotools,15
and the original discussion:
http://lists.berlios.de/pipermail/haiku-commits/2008-April/007561.html
(read the replies on the commit list)
anyhow, you can add it easily in UserBuildConfig with:
AddFilesToHaikuImage common bin : diff_zip ;
and then use it with:
diff_zip -r9y package-version-gcc2-date.zip -- /boot/common
or whatever (-r9y just means to zip recursively with full compression
and to retain symlinks)
I've used it a couple times specifically with ports that don't have a
way to create the package. It works wonderfully :)
More information about the haikuports-devs
mailing list