Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c714c59aca7cfdccbcd94865d0afabf0fcb04ae5

commit c714c59aca7cfdccbcd94865d0afabf0fcb04ae5
Author: Lyubomir Grigorov <nm.kn...@gmail.com>
Date:   Mon Mar 28 02:19:11 2011 -0700

smartcam-1.4.0-1-i686

* new package

diff --git a/source/xapps-extra/smartcam/FrugalBuild 
b/source/xapps-extra/smartcam/FrugalBuild
new file mode 100644
index 0000000..2dfb8b2
--- /dev/null
+++ b/source/xapps-extra/smartcam/FrugalBuild
@@ -0,0 +1,28 @@
+# Compiling time: 0.10 SBU
+# Maintainer: Lyubomir Grigorov <nm.kn...@gmail.com>
+
+pkgname=smartcam
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Turns a camera phone (S60, WinMo6.x, Android, Samsung Bada) with 
bluetooth or WiFi into a handy webcam ready to use with your PC"
+url="http://sourceforge.net/projects/smartcam/";
+depends=('bluez' 'gconf' 'hicolor-icon-theme' 'intltool')
+Finclude kernel-module
+makedepends=(${makedepends[@]} 'gtk+2')
+groups=('xapps-extra')
+archs=('i686')
+up2date="Flasttar http://grigorovl.com/pub/smartcam/";
+source=("http://grigorovl.com/pub/smartcam/$pkgname-$pkgver.tar.gz";)
+sha1sums=('bf4096797fe472c01277ec3dcfe71df0f59d6142')
+
+build() {
+    # make client program
+    Fbuild
+    # make kernel module
+    cd driver_src/
+    make -C $_F_kernelmod_dir/build M=`pwd` || return 1
+    Ffilerel $_F_kernelmod_dir/kernel/drivers/video/smartcam.ko
+    Fbuild_kernelmod_scriptlet
+}
+
+# optimization OK
diff --git a/source/xapps-extra/smartcam/README.Frugalware 
b/source/xapps-extra/smartcam/README.Frugalware
new file mode 100644
index 0000000..0f1c589
--- /dev/null
+++ b/source/xapps-extra/smartcam/README.Frugalware
@@ -0,0 +1,5 @@
+Once the installation is complete, make sure you load the kernel modules:
+
+# modprobe videodev
+# modprobe smartcam
+
diff --git a/source/xapps-extra/smartcam/smartcam.install 
b/source/xapps-extra/smartcam/smartcam.install
new file mode 100644
index 0000000..9be4d56
--- /dev/null
+++ b/source/xapps-extra/smartcam/smartcam.install
@@ -0,0 +1,17 @@
+post_install() {
+    update-desktop-database -q
+    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+    /sbin/depmod -a @_F_kernelmod_uname@
+}
+
+post_upgrade() {
+    post_install
+}
+
+pre_remove() {
+    post_install
+}
+
+op=$1
+shift
+$op "$@"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to