]>
Commit | Line | Data |
---|---|---|
c40468c0 | 1 | NAME=cygutils |
0bb55875 | 2 | VERSION=1.4.16 |
de657164 | 3 | RELEASE=6 |
c40468c0 MG |
4 | |
5 | SUMM="A collection of simple utilities" | |
6 | DESC="A collection of simple (single source file) utilities, including" | |
7 | ||
8 | HOMEPAGE="http://cygutils.fruitbat.org/cygutils-package/index.html" | |
9 | GIT_URI="git://cygwin.com/git/cygwin-cygutils.git" | |
0bb55875 | 10 | GIT_TAG="v1_4_16" |
c40468c0 MG |
11 | inherit git |
12 | ||
13 | PKG_NAMES="cygutils cygutils-extra cygutils-x11" | |
14 | ||
15 | cygutils_CATEGORY=Base | |
16 | cygutils_SUMMARY="${SUMM} (core collection)" | |
17 | cygutils_DESCRIPTION="${DESC} | |
18 | cygstart, mkshortcut, and readshortcut." | |
2b20ac24 MG |
19 | cygutils_CONTENTS=' |
20 | usr/bin/cygstart.exe | |
c40468c0 MG |
21 | usr/bin/mkshortcut.exe |
22 | usr/bin/readshortcut.exe | |
23 | usr/share/doc/cygutils/[A-Z]* | |
24 | usr/share/doc/cygutils/licenses | |
25 | usr/share/man/man1/cygstart.1* | |
26 | usr/share/man/man1/mkshortcut.1* | |
27 | usr/share/man/man1/readshortcut.1*' | |
28 | ||
29 | cygutils_extra_CATEGORY=Utils | |
30 | cygutils_extra_SUMMARY="${SUMM} (other tools)" | |
31 | cygutils_extra_DESCRIPTION="${DESC} | |
32 | banner, conv, cygdrop, cygicons, dump (a hexdumper), getclip, | |
33 | ipck, lpr, msgtool, putclip, semstat, semtool, shmtool, and winln." | |
2b20ac24 MG |
34 | cygutils_extra_CONTENTS=' |
35 | usr/bin/banner.exe | |
c40468c0 MG |
36 | usr/bin/conv.exe |
37 | usr/bin/cygdrop.exe | |
38 | usr/bin/cygicons-0.dll | |
39 | usr/bin/dump.exe | |
40 | usr/bin/getclip.exe | |
41 | usr/bin/ipck | |
42 | usr/bin/lpr.exe | |
43 | usr/bin/msgtool.exe | |
44 | usr/bin/putclip.exe | |
45 | usr/bin/semstat.exe | |
46 | usr/bin/semtool.exe | |
47 | usr/bin/shmtool.exe | |
48 | usr/bin/winln.exe | |
49 | usr/include | |
50 | usr/lib | |
51 | usr/share/doc/cygutils/cygicons | |
52 | usr/share/doc/cygutils/lpr | |
53 | usr/share/man/man1/lpr.1* | |
54 | usr/share/man/man1/winln.1*' | |
55 | ||
56 | cygutils_x11_CATEGORY=X11 | |
57 | cygutils_x11_SUMMARY="${SUMM} (X11 integration)" | |
58 | cygutils_x11_DESCRIPTION="${DESC} | |
59 | a cygstart app and a cygutils app." | |
2b20ac24 | 60 | cygutils_x11_CONTENTS=' |
c40468c0 MG |
61 | usr/share/applications/cygstart.desktop |
62 | usr/share/mime/packages/cygutils.xml' | |
63 | ||
64 | DIFF_EXCLUDES="-x m4 -x build-aux -x Makefile.in -x aclocal.m4 -x configure" | |
65 | ||
66 | src_compile() { | |
850f7301 MG |
67 | # libpopt.la breaks our build process so rename it temporarily |
68 | if [ -r /usr/lib/libpopt.la ]; then | |
69 | mv /usr/lib/libpopt.la /usr/lib/libpopt.la.safe | |
70 | trap 'mv /usr/lib/libpopt.la.safe /usr/lib/libpopt.la' exit | |
71 | fi | |
c40468c0 MG |
72 | cd ${S} |
73 | ./bootstrap | |
74 | cd ${B} | |
75 | cygconf --enable-silent-rules | |
76 | cygmake | |
850f7301 MG |
77 | # restore original libpopt.la if necessary |
78 | if [ -r /usr/lib/libpopt.la.safe ]; then | |
79 | mv /usr/lib/libpopt.la.safe /usr/lib/libpopt.la | |
80 | fi | |
c40468c0 | 81 | } |