DOCS="COPYING AUTHORS doc/ghttp.html TODO"
IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var
STRIPLIB=y
STRIPBIN=y
SETATTR=y
VERSION=1.0.9
PROGNAME="libghttp"
# |-----handy-ruler------------------------------------------------------|
SLACKDESC="\
libghttp: libghttp-$VERSION\n\
libghttp:\n\
libghttp: GNOME http client library.\n\
libghttp:\n\
libghttp:\n\
libghttp:\n\
libghttp:\n\
libghttp:\n\
libghttp:\n\
libghttp:\n\
libghttp:"
# maintainer
ARCH=i586
BUILD=3rob
MAINTAINER="Robert Stan "
SOURCE=ftp://ftp.gnome.org/pub/GNOME/libghttp/
LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/
# package name
PKGNAME="libghttp-${VERSION}-${ARCH}-${BUILD}"
# compiler flags
PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH"
compile() {
tar xvzf $CWD/libghttp-$VERSION.tar.gz ; cd libghttp-$VERSION
CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \
--sysconfdir=/etc/opt/gnome || exit 1
CFLAGS=$PKGOPT make -j2 || exit 1
}
install() {
make install
mkdir -p /usr/doc/libghttp-$VERSION
cp -a $DOCS /usr/doc/libghttp-$VERSION
}
attributes() {
echo "No special attributes..."
}
special() {
# Package description
echo -e $SLACKDESC > $CTL/slack-desc
echo -e $SLACKDESC > $CWD/$PKGNAME.txt
}
subpacks() {
echo "No subpacks..."
}