SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "shared-desktop-ontologies"

# SliTaz package receipt.

PACKAGE="shared-desktop-ontologies"
VERSION="0.11.0"
CATEGORY="development"
SHORT_DESC="Provide RDF vocabularies for the Semantic Desktop."
MAINTAINER="pankso@slitaz.org"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://oscaf.sourceforge.net/"
WGET_URL="$SF_MIRROR/oscaf/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="cmake"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/oscaf/files/shared-desktop-ontologies/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/shared-desktop-ontologies/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    mkdir -p build && cd build
    cmake \
        -DCMAKE_INSTALL_PREFIX=/usr \
        .. &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/* $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)