wok-current annotate v4l4j/receipt @ rev 16839
Add v4l4j (0.9.1)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Jul 12 15:02:35 2014 -0300 (2014-07-12) |
parents | |
children | 25c2b0c9ba40 |
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" |
yuripourre@16839 | 9 WEB_SITE="http://code.google.com/p/v4l4j/" |
yuripourre@16839 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@16839 | 11 WGET_URL="http://v4l4j.googlecode.com/files/$TARBALL" |
yuripourre@16839 | 12 |
yuripourre@16839 | 13 DEPENDS="libv4l jpeg" |
yuripourre@16839 | 14 BUILD_DEPENDS="libv4l-dev jpeg-dev apache-ant java-jdk" |
yuripourre@16839 | 15 |
yuripourre@16839 | 16 compile_rules() |
yuripourre@16839 | 17 { |
yuripourre@16839 | 18 export JAVA_HOME=/usr/lib/jvm/java-icedtea/ |
yuripourre@16839 | 19 ant clean all |
yuripourre@16839 | 20 ant -Ddestdir=$install install |
yuripourre@16839 | 21 } |
yuripourre@16839 | 22 |
yuripourre@16839 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@16839 | 24 genpkg_rules() |
yuripourre@16839 | 25 { |
yuripourre@16839 | 26 cp -a $install/usr $fs |
yuripourre@16839 | 27 } |