]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - ustr/ustr.nm
kernel: update to 4.12.10
[people/arne_f/ipfire-3.x.git] / ustr / ustr.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = ustr
7 version = 1.0.4
8 release = 3.1
9
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.
14
15 description
16 Micro string library, with very low overhead.
17 end
18
19 source_dl = http://www.and.org/ustr/%{version}/
20 sources = %{thisapp}.tar.bz2
21
22 build
23 CFLAGS += -fgnu89-inline
24
25 make_build_targets += \
26 all-shared \
27 CFLAGS="%{CFLAGS}" \
28 LDFLAGS="%{LDFLAGS}"
29
30 test
31 make check
32 end
33
34 make_install_targets += libdir=%{libdir}
35
36 install_cmds
37 rm -rf %{BUILDROOT}/usr/share
38 rm -rf %{BUILDROOT}/usr/lib*/pkgconfig/*debug*
39 rm -rf %{BUILDROOT}/lib/*debug*
40 rm -rf %{BUILDROOT}/usr/lib*/*debug*
41 end
42 end
43
44 packages
45 package %{name}
46
47 package %{name}-devel
48 template DEVEL
49
50 files += %{bindir}
51 end
52
53 package %{name}-debuginfo
54 template DEBUGINFO
55 end
56 end