wok-current annotate v4l4j/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents 04434444ef20
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@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
yuripourre@16839 23 compile_rules()
yuripourre@16839 24 {
yuripourre@16839 25 export JAVA_HOME=/usr/lib/jvm/java-icedtea/
yuripourre@16839 26 ant clean all
yuripourre@16839 27 ant -Ddestdir=$install install
yuripourre@16839 28 }
yuripourre@16839 29
yuripourre@16839 30 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16839 31 genpkg_rules()
yuripourre@16839 32 {
yuripourre@16839 33 cp -a $install/usr $fs
yuripourre@16842 34 #Remove logo images
yuripourre@16842 35 rm -rf $fs/usr/share/pixmaps/
yuripourre@16839 36 }