SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "guile"

# SliTaz package receipt.

PACKAGE="guile"
VERSION="1.8.8"
CATEGORY="development"
SHORT_DESC="Project GNU's extension language."
MAINTAINER="pankso@slitaz.org"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnu.org/software/guile/"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="gmp readline ncurses libltdl"
BUILD_DEPENDS="libtool gmp-dev"

HOST_ARCH="i486 x86_64"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/oops/d;/www/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src

    # http://bugs.gentoo.org/show_bug.cgi?id=317175
    patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1

    ./configure \
        --disable-error-on-warning \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/share
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib*/*.so* $fs/usr/lib
    cp -a $install/usr/share/guile $fs/usr/share
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)