]>
Commit | Line | Data |
---|---|---|
47520189 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
47520189 SS |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = ustr |
7 | version = 1.0.4 | |
8 | release = 1 | |
47520189 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.and.org/ustr/ | |
12 | license = MIT or LGPLv2+ or BSD | |
13 | summary = String library, very low memory overhead, simple to import. | |
47520189 | 14 | |
802ea3af | 15 | description |
47520189 | 16 | Micro string library, with very low overhead. |
802ea3af MT |
17 | end |
18 | ||
19 | source_dl = http://www.and.org/ustr/%{version}/ | |
20 | sources = %{thisapp}.tar.bz2 | |
21 | ||
22 | build | |
23 | make_build_targets += \ | |
24 | all-shared \ | |
25 | CFLAGS="%{CFLAGS}" | |
26 | ||
27 | test | |
28 | make check | |
29 | end | |
30 | ||
31 | install_cmds | |
32 | rm -rf %{BUILDROOT}/usr/share | |
33 | rm -rf %{BUILDROOT}/usr/lib/pkgconfig/*debug* | |
34 | rm -rf %{BUILDROOT}/lib/*debug* | |
35 | rm -rf %{BUILDROOT}/usr/lib/*debug* | |
36 | end | |
37 | end | |
38 | ||
39 | packages | |
40 | package %{name} | |
41 | end | |
1f9bc2f0 | 42 | |
802ea3af MT |
43 | package %{name}-devel |
44 | template DEVEL | |
1f9bc2f0 | 45 | |
802ea3af MT |
46 | files |
47 | /usr/bin/ | |
48 | /usr/include/ | |
49 | /usr/lib/pkgconfig/ | |
50 | */lib/*.so | |
51 | end | |
52 | end | |
1f9bc2f0 MT |
53 | |
54 | package %{name}-debuginfo | |
55 | template DEBUGINFO | |
56 | end | |
802ea3af | 57 | end |