# SliTaz package receipt. PACKAGE="v4l4j" VERSION="0.9.1" CATEGORY="development" SHORT_DESC="v4l4j is a java JNI wrapper to access the Video4Linux API." MAINTAINER="yuripourre@gmail.com" LICENSE="GPL3" WEB_SITE="https://github.com/yuripourre/v4l4j" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" TAGS="java" DEPENDS="libv4l jpeg icedtea6-jre" BUILD_DEPENDS="libv4l-dev jpeg-dev apache-ant icedtea6-jdk" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } compile_rules() { export JAVA_HOME=/usr/lib/jvm/java-icedtea/ ant clean all ant -Ddestdir=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs #Remove logo images rm -rf $fs/usr/share/pixmaps/ }