SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "yelp-xsl"

# SliTaz package receipt.

PACKAGE="yelp-xsl"
VERSION="3.36.0"
CATEGORY="utilities"
SHORT_DESC="Contains XSL stylesheets that are used by the Yelp."
MAINTAINER="yuripourre@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://wiki.gnome.org/Apps/Yelp"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="intltool itstool libxslt"
BUILD_DEPENDS="bash itstool libxslt-dev"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    export    SHELL=/bin/bash
    export    CONFIG_SHELL=/bin/bash
    sed -i '1s|/usr/bin/sh|/bin/bash|' install-sh

    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/share    $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)