Magellan Linux

Contents of /smage/branches/alx-0_6_0/core/xmessage/xmessage-1.0.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2433 - (show annotations) (download)
Thu Jun 16 14:06:53 2011 UTC (13 years ago) by niro
File size: 760 byte(s)
-added a custom Xmessage app-defaults config
1 # $Id$
2
3 PNAME="xmessage"
4 PVER="1.0.3"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-apps"
8 STATE="unstable"
9
10 DESCRIPTION="The xmessage program displays a window containing a message from the command line, a file, or standard input."
11 HOMEPAGE="http://xorg.freedesktop.org"
12
13 DEPEND=">= x11-libs/libXaw-1"
14
15 ALX_ONLY_KEEP="usr/bin/xmessage usr/share/X11/app-defaults/Xmessage"
16 sminclude xorg alx-split
17
18 UP2DATE="updatecmd_xorg ${PNAME}"
19
20 src_compile()
21 {
22 cd ${SRCDIR}
23
24 xorg_src_configure --disable-xprint || die
25 mmake || die
26 }
27
28 alx_generic_src_install()
29 {
30 cd ${SRCDIR}
31 mmake DESTDIR=${BINDIR} install || die
32
33 # inject custom app-defaults themed for alx
34 echo -e ${COLGREEN}" injecting custom configs"${COLDEFAULT}
35 mcinjectfile Xmessage /usr/share/X11/app-defaults || die
36 }