-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Manuel Hendel wrote: | I'm trying to package the arj archiver. The documentation of arj says | that I have to do the following: | | cd gnu | autoheader | autoconf | ./configure | cd .. | make prepare | make | make install | | For some reason which I don't know, this doesn't work in my arj.info | | arj.info: | | Package: arj | Version: 3.10.21 | Revision: 1 | Source: http://mesh.dl.sourceforge.net/sourceforge/arj/%n-%v.tar.gz | Source-MD5: 887d400ca6048516d4d447e1649af396 | Maintainer: Manuel Hendel <[EMAIL PROTECTED]> | HomePage: http://arj.sourceforge.net/ | License: GPL | Description: ARJ archiver | | CompileScript: << | cd gnu | autoheader | autoconf | ./configure | cd .. | make PREFIX=%p | << | | InstallScript: make install PREFIX=%i | | DescDetail: << | << | | Can someone give me a hint?
Yeah, you seem to be forgetting that CompileScript is passed to the shell line by line unless it starts with #! you should be using ./configure %c, you should be using mirror:sourceforge as the Source, you need a BuildDepends on autoconf2.5.
Now, once you make these changes, you'll get a build failure on environ.c because the package makes assuptions that it shouldn't. The PatchScript "fixes" that. Now you get a missing symbol definition for lchown, not surprising since Mac OS X has no lchown. -Dlchown=chown in CPPFLAGS should "fix" that one, but didn't, trying CFLAGS ... which gets you past that particular problem. Now there is a gcc -shared which ain't going to work, and I'm going to bed :)
Peter - -- Peter O'Gorman - http://www.pogma.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (Darwin)
iQCVAwUBQe0v47iDAg3OZTLPAQJqtAP/Rrf6SB9d9rUDYmGSV/MbErhmaDTTuP5y F5vkdAUKgbVLnPoiYuHXekNo1tQ9o+IXk9tdlbgRADm5ibs3Z9J0dtk3Rr5ZsuD+ t0ktQuptM64Eh9Ct+Jal1A6g/XwiD4H8FGjYLJ2VfxEBIiiDNlRU9E8LbiYzUj1F zg8BB2NeNkk= =HWTj -----END PGP SIGNATURE-----
Package: arj Version: 3.10.21 Revision: 1 Source: mirror:sourceforge:%n/%n-%v.tar.gz Source-MD5: 887d400ca6048516d4d447e1649af396 BuildDepends: autoconf2.5 UpdateConfigGuessInDirs: gnu Description: ARJ archiver PatchScript: perl -pi.bak -e 's/__FreeBSD__/__APPLE__/g' environ.c SetCFlags: -Dlchown=chown CompileScript: << #! /bin/sh -v cd gnu autoheader autoconf ./configure %c cd .. make << InstallScript: make install DESTDIR=%d Maintainer: Manuel Hendel <[EMAIL PROTECTED]> HomePage: http://arj.sourceforge.net/ License: GPL