wok-current annotate shared-desktop-ontologies/receipt @ rev 24942
BootProg: clear cmdline
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 20 15:10:50 2022 +0000 (2022-04-20) |
parents | b2292a5ea5ed |
children | 7dd01dedad38 |
rev | line source |
---|---|
pankso@15931 | 1 # SliTaz package receipt. |
pankso@15931 | 2 |
pankso@15931 | 3 PACKAGE="shared-desktop-ontologies" |
pankso@15931 | 4 VERSION="0.11.0" |
pankso@15931 | 5 CATEGORY="development" |
pankso@15931 | 6 SHORT_DESC="Provide RDF vocabularies for the Semantic Desktop." |
pankso@15931 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15931 | 8 LICENSE="LGPL2.1" |
pankso@15931 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@15931 | 10 WEB_SITE="http://oscaf.sourceforge.net/" |
pankso@15931 | 11 WGET_URL="$SF_MIRROR/oscaf/$TARBALL" |
pankso@15931 | 12 |
pankso@15931 | 13 DEPENDS="" |
pankso@15931 | 14 BUILD_DEPENDS="cmake" |
pankso@15931 | 15 |
pascal@24348 | 16 # What is the latest version available today? |
pascal@24348 | 17 current_version() |
pascal@24348 | 18 { |
pascal@24348 | 19 wget -O - https://sourceforge.net/projects/oscaf/files/shared-desktop-ontologies/ 2>/dev/null | \ |
pascal@24348 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 21 sed '/scope="row/!d;s|.*/shared-desktop-ontologies/||;s|/.*||;q' |
pascal@24348 | 22 } |
pascal@24348 | 23 |
pankso@15931 | 24 # Rules to configure and make the package. |
pankso@15931 | 25 compile_rules() |
pankso@15931 | 26 { |
pankso@15931 | 27 mkdir -p build && cd build |
pankso@15931 | 28 cmake \ |
pankso@15931 | 29 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@15931 | 30 .. && |
pankso@15931 | 31 make && |
pankso@15931 | 32 make DESTDIR=$DESTDIR install |
pankso@15931 | 33 } |
pankso@15931 | 34 |
pankso@15931 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15931 | 36 genpkg_rules() |
pankso@15931 | 37 { |
pankso@15931 | 38 mkdir -p $fs/usr |
pankso@15931 | 39 cp -a $install/usr/* $fs/usr |
pankso@15931 | 40 } |