[Slackbuilds-users] swi-prolog SlackBuild - First attempt

emmel the_emmel at gmx.net
Mon May 31 07:51:49 UTC 2010


On Mon, May 31, 2010 at 02:06:16AM -0400, Andrew Antle wrote:
> Hello -
> 
> This is my first attempt at writing a SlackBuild script.  If someone would
> look it over to make sure I haven't screwed anything up, that would be
> much appreciated. :)

<snip>

> CFLAGS="$SLKCFLAGS" \
> CXXFLAGS="$SLKCFLAGS" \
> ./configure \
>   --prefix=/usr \
>   --libdir=/usr/lib${LIBDIRSUFFIX} \
>   --sysconfdir=/etc \
>   --localstatedir=/var \
>   --mandir=/usr/man \
>   --docdir=/usr/doc/$PRGNAM-$VERSION \
>   --build=$ARCH-slackware-linux \
>   --with-world
> 
> make
> make install DESTDIR=$PKG

Actually, the preferred way to build swi-prolog ist using the build
script. This should work:

DESTDIR=$PKG ./build.templ --prefix=/usr

I wrote a (non-standard - thus not comitted) build script a couple of
months ago when I couldn't get gnu prolog to compile on current. That's
the line I used.
-- 
emmel <the_emmel at gmx.net>
GPG signed
Fingerprint: 60B4 D8E3 9617 900C 6726  168F D677 5AAD D40F CCE7
Certserver : hkp://pgp.mit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100531/36eb7b00/attachment.sig>


More information about the SlackBuilds-users mailing list