Advertisement
Guest User

Untitled

a guest
Oct 24th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. # Contributor: Radu Andries <admiral0@tuxfamily.org>
  2. pkgname=zbar-qt
  3. pkgver=0.10
  4. pkgrel=1
  5. pkgdesc="An open source software suite for reading bar codes from various sources"
  6. arch=('i686' 'x86_64')
  7. url="http://zbar.sourceforge.net/"
  8. license=('LGPL')
  9. depends=(qt imagemagick libxv)
  10. provides=()
  11. source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2")
  12.  
  13. build() {
  14. cd "$srcdir/zbar-$pkgver"
  15. sed -i 's|linux/videodev.h|libv4l1-videodev.h|g' zbar/video/v4l1.c include/config.h.in configure.ac configure
  16. export CFLAGS=""
  17. ./configure --prefix=/usr --without-gtk --without-python
  18. make
  19. make DESTDIR="$pkgdir/" install
  20. }
  21.  
  22. # vim:set ts=2 sw=2 et:
  23. md5sums=('0fd61eb590ac1bab62a77913c8b086a5')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement