Skip to content

Commit 6b6cde6

Browse files
hboetesKaraokeStu
authored andcommitted
New package: jupp editor (#2698)
* Add Jupp, an editor which supports various known user interfaces, like pico, emacs, joe, wordstar etc * As per KaraokeStu's request, a 256x256 png icon for jupp.
1 parent 0c66db8 commit 6b6cde6

File tree

8 files changed

+132
-0
lines changed

8 files changed

+132
-0
lines changed

cross/jupp/Makefile

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
PKG_NAME = jupp
2+
PKG_VERS = 30
3+
PKG_EXT = tgz
4+
PKG_DIST_NAME = joe-3.1$(PKG_NAME)$(PKG_VERS).$(PKG_EXT)
5+
PKG_DIST_SITE = https://www.mirbsd.org/MirOS/dist/jupp
6+
PKG_DIR = $(PKG_NAME)
7+
8+
HOMEPAGE = https://www.mirbsd.org/jupp.htm
9+
LICENSE = GPLv1
10+
11+
GNU_CONFIGURE = 1
12+
CONFIGURE_ARGS = --disable-termidx
13+
PRE_CONFIGURE_TARGET = chmod_755_configure
14+
15+
include ../../mk/spksrc.cross-cc.mk
16+
17+
.PHONY: chmod_755_configure
18+
chmod_755_configure:
19+
chmod 755 $(WORK_DIR)/$(PKG_NAME)/configure

cross/jupp/PLIST

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
bin:bin/joe
2+
lnk:bin/jmacs
3+
lnk:bin/jpico
4+
lnk:bin/jstar
5+
lnk:bin/jupp
6+
lnk:bin/rjoe
7+
etc:etc/joe
8+
shr:share/man/man1

cross/jupp/digests

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
joe-3.1jupp30.tgz SHA1 953b9a0dda10d08aa3bcac0a1b500de9520dea9b
2+
joe-3.1jupp30.tgz SHA256 65ddb346364a056c1d78a1cb406b0ebf6c9c2fbd753cd404b1b4c8fd3fa9916d
3+
joe-3.1jupp30.tgz MD5 3a0462dd9c76c3982d8f4593ba092850

spk/jupp/Makefile

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
SPK_NAME = jupp
2+
SPK_VERS = 30
3+
SPK_REV = 1
4+
SPK_ICON = src/jupp.png
5+
6+
DEPENDS = cross/$(SPK_NAME)
7+
8+
MAINTAINER = SynoCommunity
9+
DESCRIPTION = text editor with emacs, joe, pico, Wordstar and jupp user interface
10+
DESCRIPTION_GER = ein Editor mit emacs, joe, pico, Wordstar und jupp-Benutzeroberfläche
11+
RELOAD_UI = no
12+
DISPLAY_NAME = jupp
13+
STARTABLE = no
14+
CHANGELOG = "Initial release"
15+
16+
HOMEPAGE = https://www.mirbsd.org/jupp.htm
17+
LICENSE = GPLv1
18+
19+
INSTALLER_SCRIPT = src/installer.sh
20+
SSS_SCRIPT = src/dsm-control.sh
21+
22+
INSTALL_PREFIX = /usr/local/$(SPK_NAME)
23+
GNU_CONFIGURE = 1
24+
25+
include ../../mk/spksrc.spk.mk

spk/jupp/PLIST

Whitespace-only changes.

spk/jupp/src/dsm-control.sh

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/sh
2+
3+
# Package
4+
PACKAGE="jupp"
5+
DNAME="jupp"
6+
7+
8+
case $1 in
9+
start)
10+
exit 0
11+
;;
12+
stop)
13+
exit 0
14+
;;
15+
status)
16+
exit 0
17+
;;
18+
log)
19+
exit 1
20+
;;
21+
*)
22+
exit 1
23+
;;
24+
esac

spk/jupp/src/installer.sh

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#!/bin/sh
2+
3+
# Package
4+
PACKAGE="jupp"
5+
DNAME="jupp"
6+
7+
# Others
8+
INSTALL_DIR="/usr/local/${PACKAGE}"
9+
BINS="jmacs joe jpico jstar jupp rjoe termidx"
10+
11+
preinst ()
12+
{
13+
exit 0
14+
}
15+
16+
postinst ()
17+
{
18+
# Link
19+
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR}
20+
21+
# Create symlinks for all binaries in the PATH
22+
mkdir -p /usr/local/bin
23+
for bin in $BINS; do
24+
ln -s ${INSTALL_DIR}/bin/$bin /usr/local/bin/$bin
25+
done
26+
27+
exit 0
28+
}
29+
30+
preuninst ()
31+
{
32+
exit 0
33+
}
34+
35+
postuninst ()
36+
{
37+
# Remove link
38+
rm -f ${INSTALL_DIR}
39+
for bin in $BINS; do
40+
rm -f /usr/local/bin/$bin
41+
done
42+
exit 0
43+
}
44+
45+
preupgrade ()
46+
{
47+
exit 0
48+
}
49+
50+
postupgrade ()
51+
{
52+
exit 0
53+
}

spk/jupp/src/jupp.png

56.6 KB
Loading

0 commit comments

Comments
 (0)