]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - sane/sane.nm
Merge remote-tracking branch 'stevee/vim'
[people/ms/ipfire-3.x.git] / sane / sane.nm
CommitLineData
ed0a9fda 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
ed0a9fda
SS
4###############################################################################
5
802ea3af
MT
6name = sane
7version = 1.0.21
8release = 1
9
10groups = Application/Imaging
11url = ftp://ftp2.sane-project.org/pub/sane/
12license = GPLv2+
13summary = SANE - Scanner Access Now Easy.
14
15description
16 sane-backends - includes: backends (scanner drivers),
17 command-line-frontend (scanimage), network scanning daemon
18 (saned) and SANE-API documentation.
19end
20
21source_dl = ftp://ftp2.sane-project.org/pub/sane/sane-backends-%{version}/
22sources = %{name}-backends-%{version}.tar.gz
23
24build
25 requires
26 libjpeg-devel
27 libtiff-devel
28 libusb-devel
29 end
30
31 DIR_APP = %{DIR_SRC}/%{name}-backends-%{version}
32
33 configure_options += \
34 --sysconfdir=/etc \
35 --localstatedir=/var \
36 --enable-parport-directio
37
38 install_cmds
39 chmod 4755 %{BUILDROOT}/usr/bin/scanimage
40 install -v -m 644 %{DIR_APP}/include/sane/* %{BUILDROOT}/usr/include/sane
41 rm -vf %{BUILDROOT}/usr/share/doc/sane-1.0.20/README.solaris
42 end
43end
44
45packages
46 package %{name}
47 end
1f9bc2f0 48
802ea3af
MT
49 package %{name}-libs
50 template LIBS
51 end
1f9bc2f0 52
802ea3af
MT
53 package %{name}-devel
54 template DEVEL
55 end
1f9bc2f0
MT
56
57 package %{name}-debuginfo
58 template DEBUGINFO
59 end
802ea3af 60end