wok-current annotate v4l4j/receipt @ rev 17355
memtester: arm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 16 15:10:15 2014 +0100 (2014-11-16) |
parents | e8f651cdb2c6 |
children | 2e9aae8cdb9b |
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@16842 | 27 #Remove logo images |
yuripourre@16842 | 28 rm -rf $fs/usr/share/pixmaps/ |
yuripourre@16839 | 29 } |