Contents of /branches/R11-stable/extras/xorg-cf-files/xorg-cf-files-1.0.5-r1.smage2
Parent Directory | Revision Log
Revision 20083 -
(show annotations)
(download)
Tue Nov 26 10:01:03 2013 UTC (10 years, 10 months ago) by niro
File size: 807 byte(s)
Tue Nov 26 10:01:03 2013 UTC (10 years, 10 months ago) by niro
File size: 807 byte(s)
-moved to extras
1 | # $Id$ |
2 | |
3 | PNAME="xorg-cf-files" |
4 | PVER="1.0.5" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="x11-misc" |
8 | |
9 | DESCRIPTION="Old Imake-related build files." |
10 | HOMEPAGE="http://xorg.freedesktop.org" |
11 | |
12 | sminclude xorg |
13 | |
14 | DEPEND="" |
15 | |
16 | UP2SUBDIR="util" |
17 | UP2DATE="updatecmd_xorg ${PNAME}" |
18 | |
19 | src_install() |
20 | { |
21 | xorg_src_install || die |
22 | |
23 | # fix man dir |
24 | echo "#define ManDirectoryRoot /usr/share/man" >> ${BINDIR}/usr/$(mlibdir)/X11/config/host.def || die |
25 | |
26 | # fix libdir on 64bit arches (defaults are lib not lib64) |
27 | sed -i "s:LibDirName *lib$:LibDirName $(mlibdir):" \ |
28 | ${BINDIR}/usr/$(mlibdir)/X11/config/Imake.tmpl || die |
29 | sed -i -e "s:define LibDir Concat(ProjectRoot,/lib/X11):define LibDir Concat(ProjectRoot,/$(mlibdir)/X11):" \ |
30 | -e "s:define LibDir /usr/lib/X11:define LibDir /usr/$(mlibdir)/X11:" \ |
31 | ${BINDIR}/usr/$(mlibdir)/X11/config/X11.tmpl || die |
32 | } |