]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = sane |
7 | version = 1.0.21 | |
8 | release = 1 | |
9 | ||
10 | groups = Application/Imaging | |
11 | url = ftp://ftp2.sane-project.org/pub/sane/ | |
12 | license = GPLv2+ | |
13 | summary = SANE - Scanner Access Now Easy. | |
14 | ||
15 | description | |
16 | sane-backends - includes: backends (scanner drivers), | |
17 | command-line-frontend (scanimage), network scanning daemon | |
18 | (saned) and SANE-API documentation. | |
19 | end | |
20 | ||
21 | source_dl = ftp://ftp2.sane-project.org/pub/sane/sane-backends-%{version}/ | |
22 | sources = %{name}-backends-%{version}.tar.gz | |
23 | ||
24 | build | |
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 | |
43 | end | |
44 | ||
45 | packages | |
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 | 60 | end |