Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
bee-files/nedit.be0
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
82 lines (62 sloc)
1.58 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env beesh | |
# BEE_VERSION nedit-5.6.0-2 | |
#SRCURL[0]="ftp://ftp.nluug.nl/pub/editors/NEdit/snapshot/nedit-latest-sources-HEAD.tar.gz" | |
SRCURL[0]="https://beehive.molgen.mpg.de/eb59a2ef2e5aea43224b7da2eb4e98db/nedit-latest-sources-HEAD.tar.gz" | |
#PATCHURL[0]="https://bugzilla.redhat.com/attachment.cgi?id=135197 nedit-default-visual.patch" | |
PATCHURL+=("https://beehive.molgen.mpg.de/906ba44a7bb19e84d1337c9c5df0d7e5/nedit-default-visual.patch") | |
B=${S} | |
BEE_CONFIGURE=none | |
# EXCLUDE="" | |
mee_patch() { | |
bee_patch $@ | |
cat >makefiles/Makefile.mariux <<"==EOF==" | |
# $Id: MarIuXFromScratchNEdit.txt,v 1.3 2008/01/10 09:19:27 MariusTolzmann Exp $ | |
CC=cc | |
AR=ar | |
CFLAGS= \ | |
-O \ | |
-I/usr/local/openmotif-2.3/include -I/usr/X11R6/include \ | |
-DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DBUILD_UNTESTED_NEDIT \ | |
-Wno-int-to-pointer-cast \ | |
-Wno-pointer-to-int-cast | |
ARFLAGS=-urs | |
LIBS= \ | |
-Wl,-rpath,/usr/local/openmotif-2.3/lib \ | |
-L/usr/local/openmotif-2.3/lib \ | |
-L/usr/X11R6/lib \ | |
-L/usr/lib \ | |
-Wl,--as-needed \ | |
-Wl,-Bstatic \ | |
-ljpeg \ | |
-lXft \ | |
-Wl,-Bdynamic \ | |
-lXm \ | |
-lpng \ | |
-lfontconfig \ | |
-lXrender \ | |
-lXmu \ | |
-lXp \ | |
-lXpm \ | |
-lXext \ | |
-lXt \ | |
-lSM \ | |
-lICE \ | |
-lX11 \ | |
-lm \ | |
-lz | |
include Makefile.common | |
verify_config: check_tif_rule | |
==EOF== | |
} | |
mee_configure() { | |
bee_configure | |
} | |
mee_build() { | |
echo "" | bee_build mariux | |
} | |
mee_install() { | |
mkdir -pv ${D}{${BINDIR},${MANDIR}/man1} | |
install -m 755 source/nedit source/nc ${D}${BINDIR} | |
install -m 644 doc/nc.man ${D}${MANDIR}/man1/nc.1 | |
install -m 644 doc/nedit.man ${D}${MANDIR}/man1/nedit.1 | |
} | |