]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - gzip/gzip.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / gzip / gzip.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = gzip
7 version = 1.4
8 release = 1
9
10 groups = Base Build Applications/Compression
11 url = http://www.gzip.org/
12 license = GPLv2
13 summary = The GNU data compression program.
14
15 description
16 The gzip package contains the popular GNU gzip data compression \
17 program. Gzipped files have a .gz extension.
18 end
19
20 source_dl =
21
22 build
23 build
24 # NO_ASM is for textrels.
25 DEFS=NO_ASM \
26 CPPFLAGS="-DHAVE_LSTAT" \
27 ./configure \
28 --prefix=/usr \
29 --bindir=/bin
30
31 make %{PARALLELISMFLAGS}
32 end
33
34 test
35 make check
36 end
37
38 install
39 make install DESTDIR=%{BUILDROOT}
40
41 mkdir -pv %{BUILDROOT}/usr/bin
42 mv -v %{BUILDROOT}/bin/{gzexe,uncompress,zcmp,zdiff,zegrep} %{BUILDROOT}/usr/bin
43 mv -v %{BUILDROOT}/bin/{zfgrep,zforce,zgrep,zless,zmore,znew} %{BUILDROOT}/usr/bin
44 end
45 end
46
47 packages
48 package %{name}
49 end
50
51 package %{name}-debuginfo
52 template DEBUGINFO
53 end
54 end