wok view v4l4j/receipt @ rev 24575
updated fsarchiver (0.8.5 -> 0.8.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:36:21 2022 +0100 (2022-02-27) |
parents | 04434444ef20 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="v4l4j"
4 VERSION="0.9.1"
5 CATEGORY="development"
6 SHORT_DESC="v4l4j is a java JNI wrapper to access the Video4Linux API."
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/yuripourre/v4l4j"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
12 TAGS="java"
14 DEPENDS="libv4l jpeg icedtea6-jre"
15 BUILD_DEPENDS="libv4l-dev jpeg-dev apache-ant icedtea6-jdk"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 compile_rules()
24 {
25 export JAVA_HOME=/usr/lib/jvm/java-icedtea/
26 ant clean all
27 ant -Ddestdir=$install install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 #Remove logo images
35 rm -rf $fs/usr/share/pixmaps/
36 }