Magellan Linux

Annotation of /smage/branches/alx07x-unstable/core/xmessage/xmessage-1.0.5-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15494 - (hide annotations) (download)
Mon Sep 7 10:23:08 2020 UTC (3 years, 8 months ago) by niro
File size: 750 byte(s)
-release branches/alx07x-unstable
1 niro 15476 # $Id$
2    
3     PNAME="xmessage"
4     PVER="1.0.5"
5     PBUILD="r3"
6    
7     PCAT="x11-apps"
8    
9     DESCRIPTION="The xmessage program displays a window containing a message from the command line, a file, or standard input."
10     HOMEPAGE="http://xorg.freedesktop.org"
11    
12     DEPEND=">= x11-libs/libXaw-1"
13     SDEPEND=">= x11-libs/libXaw-dev-1"
14    
15     ALX_PKG_KEEP="usr/bin/xmessage usr/share/X11/app-defaults/Xmessage"
16     sminclude xorg alx-split
17    
18     src_compile()
19     {
20     cd ${SRCDIR}
21    
22     xorg_src_configure --disable-xprint || die
23     mmake || die
24     }
25    
26     alx_generic_src_install()
27     {
28     cd ${SRCDIR}
29     mmake DESTDIR=${BINDIR} install || die
30    
31     # inject custom app-defaults themed for alx
32     echo -e ${COLGREEN}" injecting custom configs"${COLDEFAULT}
33     mcinjectfile Xmessage-2020 /usr/share/X11/app-defaults/Xmessage || die
34     }