Skip to content

Instantly share code, notes, and snippets.

@yuripourre
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuripourre/78423c56fe6811c35889 to your computer and use it in GitHub Desktop.
Save yuripourre/78423c56fe6811c35889 to your computer and use it in GitHub Desktop.
V4l4j SliTaz Receipt
# SliTaz package receipt.
PACKAGE="v4l4j"
VERSION="0.1"
CATEGORY="development"
SHORT_DESC="Install v4l4j - A java package to access the Capture interface of the Video4Linux API"
MAINTAINER="yuripourre@gmail.com"
LICENSE="GPLv3"
WEB_SITE="http://code.google.com/p/v4l4j/"
OBVERSION="0.9.1"
PREFIX="v4l4j-$OBVERSION"
TARBALL="$PREFIX.tar.gz"
WGET_URL="http://v4l4j.googlecode.com/files/$TARBALL"
DEPENDS="libv4l-dev jpeg-dev make gcc apache-ant java-jdk"
BUILD_DEPENDS="wget pkg-config"
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
tar xzf $TARBALL
cd $PREFIX
export JAVA_HOME=/usr/lib/jvm/java-icedtea/
ant clean all
ant install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment