wok annotate v4l4j/receipt @ rev 25633

wbar: remove imlib2-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 24 10:30:04 2023 +0000 (6 months ago)
parents 5ea0ce1cecc0
children
rev   line source
yuripourre@16839 1 # SliTaz package receipt.
yuripourre@16839 2
yuripourre@16839 3 PACKAGE="v4l4j"
yuripourre@16839 4 VERSION="0.9.1"
yuripourre@16839 5 CATEGORY="development"
yuripourre@16839 6 SHORT_DESC="v4l4j is a java JNI wrapper to access the Video4Linux API."
yuripourre@16839 7 MAINTAINER="yuripourre@gmail.com"
yuripourre@16839 8 LICENSE="GPL3"
pascal@20687 9 WEB_SITE="https://github.com/yuripourre/v4l4j"
yuripourre@18377 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20687 11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
yuripourre@18377 12 TAGS="java"
yuripourre@16839 13
yuripourre@18377 14 DEPENDS="libv4l jpeg icedtea6-jre"
yuripourre@18377 15 BUILD_DEPENDS="libv4l-dev jpeg-dev apache-ant icedtea6-jdk"
yuripourre@16839 16
pascal@25601 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25601 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
pascal@25601 24 # Rules to configure and make the package.
yuripourre@16839 25 compile_rules()
yuripourre@16839 26 {
yuripourre@16839 27 export JAVA_HOME=/usr/lib/jvm/java-icedtea/
yuripourre@16839 28 ant clean all
yuripourre@16839 29 ant -Ddestdir=$install install
yuripourre@16839 30 }
yuripourre@16839 31
yuripourre@16839 32 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16839 33 genpkg_rules()
yuripourre@16839 34 {
yuripourre@16839 35 cp -a $install/usr $fs
yuripourre@16842 36 #Remove logo images
yuripourre@16842 37 rm -rf $fs/usr/share/pixmaps/
yuripourre@16839 38 }