synocli-file: initial package version
- jdupes 1.13.2 - less 530 - tree 1.8.0 - rhash 1.3.8 - mc 4.8.23 - ncdu 1.14.1 - nano 4.4 - change nano dependency from ncurses to ncursesw - some fixes
1
.gitignore
vendored
@ -4,6 +4,7 @@ native/*/work*
|
||||
cross/*/work*
|
||||
kernel/*/work*
|
||||
spk/*/work*
|
||||
diyspk/*/work*
|
||||
toolchains/*/work*
|
||||
local.mk
|
||||
*.DS_Store
|
||||
|
@ -1,18 +1,18 @@
|
||||
bin:bin/gapplication
|
||||
bin:bin/gdbus
|
||||
bin:bin/gdbus-codegen
|
||||
rsc:bin/gdbus-codegen
|
||||
bin:bin/gio
|
||||
bin:bin/gio-querymodules
|
||||
bin:bin/glib-compile-resources
|
||||
bin:bin/glib-compile-schemas
|
||||
bin:bin/glib-genmarshal
|
||||
bin:bin/glib-gettextize
|
||||
rsc:bin/glib-genmarshal
|
||||
rsc:bin/glib-gettextize
|
||||
bin:bin/glib-mkenums
|
||||
bin:bin/gobject-query
|
||||
bin:bin/gresource
|
||||
bin:bin/gsettings
|
||||
bin:bin/gtester
|
||||
bin:bin/gtester-report
|
||||
rsc:bin/gtester-report
|
||||
lnk:lib/libgio-2.0.so
|
||||
lnk:lib/libgio-2.0.so.0
|
||||
lib:lib/libgio-2.0.so.0.5502.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
PKG_NAME = jdupes
|
||||
PKG_VERS = 1.9
|
||||
PKG_VERS = 1.13.2
|
||||
PKG_EXT = tar.gz
|
||||
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
|
||||
PKG_DIST_SITE = https://github.com/jbruchon/jdupes/archive
|
||||
@ -8,15 +8,14 @@ PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
|
||||
DEPENDS =
|
||||
|
||||
HOMEPAGE = https://github.com/jbruchon/jdupes
|
||||
COMMENT = A powerful duplicate file finder and an enhanced fork of 'fdupes'
|
||||
COMMENT = A powerful duplicate file finder and an enhanced fork of fdupes
|
||||
LICENSE = MIT
|
||||
|
||||
CONFIGURE_TARGET = none
|
||||
|
||||
INSTALL_TARGET = myInstall
|
||||
INSTALL_TARGET = jdupes_install_target
|
||||
|
||||
include ../../mk/spksrc.cross-cc.mk
|
||||
|
||||
.PHONY: myInstall
|
||||
myInstall:
|
||||
$(RUN) $(MAKE) install PREFIX=$(STAGING_INSTALL_PREFIX)
|
||||
.PHONY: jdupes_install_target
|
||||
jdupes_install_target:
|
||||
$(RUN) $(MAKE) install DESTDIR=$(INSTALL_DIR) PREFIX=$(INSTALL_PREFIX)
|
||||
|
@ -1,2 +1 @@
|
||||
bin:bin/jdupes
|
||||
rsc:share/man/man1/jdupes.1
|
||||
|
@ -1,3 +1,3 @@
|
||||
v1.9.tar.gz SHA1 9becb365e55833b45d20231fbea9a16994a9c647
|
||||
v1.9.tar.gz SHA256 7f2505571c9fc8f76609b918106785f61e4a85af184309f738d7d847f1c2a1cf
|
||||
v1.9.tar.gz MD5 c44602e9eb180afc944b23351780721f
|
||||
v1.13.2.tar.gz SHA1 e0324b53bf674b6f5dbbe1c62bed3bc0689e4fd1
|
||||
v1.13.2.tar.gz SHA256 41376ace274320a77e35ffed170ff0cbca2cd0cfd0ff1cea53d7464e97d4341f
|
||||
v1.13.2.tar.gz MD5 ddc0deebd9a01fc039ca64ed59ba6aa8
|
||||
|
@ -1,5 +1,5 @@
|
||||
PKG_NAME = less
|
||||
PKG_VERS = 481
|
||||
PKG_VERS = 530
|
||||
PKG_EXT = tar.gz
|
||||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
|
||||
PKG_DIST_SITE = http://ftp.gnu.org/gnu/less/
|
||||
@ -12,13 +12,5 @@ COMMENT = Less is a terminal pager.
|
||||
LICENSE = GPLv3
|
||||
|
||||
GNU_CONFIGURE = 1
|
||||
CONFIGURE_ARGS = --with-ncursesw=ncursesw --with-regex=gnu
|
||||
|
||||
INSTALL_TARGET = myInstall
|
||||
POST_INSTALL_TARGET = myPostInstall
|
||||
|
||||
include ../../mk/spksrc.cross-cc.mk
|
||||
|
||||
.PHONY: myInstall
|
||||
myInstall:
|
||||
$(RUN) $(MAKE) install DESTDIR=$(INSTALL_DIR)
|
||||
|
@ -1,3 +1,3 @@
|
||||
less-481.tar.gz SHA1 58e7e62a760a9ca3636349de8e3357f7102aea1d
|
||||
less-481.tar.gz SHA256 3fa38f2cf5e9e040bb44fffaa6c76a84506e379e47f5a04686ab78102090dda5
|
||||
less-481.tar.gz MD5 50ef46065c65257141a7340123527767
|
||||
less-530.tar.gz SHA1 d8ba1f43e88b706ef701f978cd3262b5b44dffd6
|
||||
less-530.tar.gz SHA256 503f91ab0af4846f34f0444ab71c4b286123f0044a4964f1ae781486c617f2e2
|
||||
less-530.tar.gz MD5 6a39bccf420c946b0fd7ffc64961315b
|
||||
|
@ -1,5 +1,5 @@
|
||||
PKG_NAME = mc
|
||||
PKG_VERS = 4.8.21
|
||||
PKG_VERS = 4.8.23
|
||||
PKG_EXT = tar.xz
|
||||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
|
||||
PKG_DIST_SITE = http://www.midnight-commander.org/downloads
|
||||
@ -15,10 +15,4 @@ GNU_CONFIGURE = 1
|
||||
CONFIGURE_ARGS = fu_cv_sys_stat_statfs2_bsize=yes --with-screen=ncurses
|
||||
ADDITIONAL_CFLAGS = -O3
|
||||
|
||||
INSTALL_TARGET = myInstall
|
||||
|
||||
include ../../mk/spksrc.cross-cc.mk
|
||||
|
||||
.PHONY: myInstall
|
||||
myInstall:
|
||||
$(RUN) $(MAKE) install DESTDIR=$(INSTALL_DIR)
|
||||
|
@ -2,14 +2,13 @@ bin:bin/mc
|
||||
bin:bin/mcdiff
|
||||
bin:bin/mcedit
|
||||
bin:bin/mcview
|
||||
etc:etc/mc
|
||||
libexec:libexec/mc/cons.saver
|
||||
libexec:libexec/mc/ext.d/
|
||||
libexec:libexec/mc/extfs.d/a+
|
||||
libexec:libexec/mc/extfs.d/
|
||||
libexec:libexec/mc/fish/
|
||||
libexec:libexec/mc/mc.csh
|
||||
libexec:libexec/mc/mc.sh
|
||||
libexec:libexec/mc/mc-wrapper.csh
|
||||
libexec:libexec/mc/mc-wrapper.sh
|
||||
shr:share/mc
|
||||
rsc:etc/mc
|
||||
rsc:libexec/mc/cons.saver
|
||||
rsc:libexec/mc/ext.d/
|
||||
rsc:libexec/mc/extfs.d/
|
||||
rsc:libexec/mc/fish/
|
||||
rsc:libexec/mc/mc.csh
|
||||
rsc:libexec/mc/mc.sh
|
||||
rsc:libexec/mc/mc-wrapper.csh
|
||||
rsc:libexec/mc/mc-wrapper.sh
|
||||
rsc:share/mc
|
||||
|
@ -1,3 +1,3 @@
|
||||
mc-4.8.21.tar.xz SHA1 f66fec68e6e3e284b6e8f26d96001aa47c23b2d9
|
||||
mc-4.8.21.tar.xz SHA256 8f37e546ac7c31c9c203a03b1c1d6cb2d2f623a300b86badfd367e5559fe148c
|
||||
mc-4.8.21.tar.xz MD5 743a421db8a5469bb373874cd6efbcb2
|
||||
mc-4.8.23.tar.xz SHA1 021a33828922b45d18daa23189d6c86d17e61e09
|
||||
mc-4.8.23.tar.xz SHA256 dd7f7ce74183307b0df25b5c3e60ad3293fd3d3d27d2f37dd7a10efce13dff1c
|
||||
mc-4.8.23.tar.xz MD5 466c3135f727f8ac2102d060a080ace3
|
||||
|
6
cross/nano/Makefile
Executable file → Normal file
@ -1,11 +1,11 @@
|
||||
PKG_NAME = nano
|
||||
PKG_VERS = 2.9.8
|
||||
PKG_VERS = 4.4
|
||||
PKG_EXT = tar.gz
|
||||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
|
||||
PKG_DIST_SITE = ftp://ftp.gnu.org/pub/gnu/nano
|
||||
PKG_DIST_SITE = https://www.nano-editor.org/dist/v4
|
||||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
|
||||
|
||||
DEPENDS = cross/ncurses
|
||||
DEPENDS = cross/ncursesw
|
||||
|
||||
HOMEPAGE = http://www.nano-editor.org
|
||||
COMMENT = nano is a text editor for Unix-like computing systems or operating environments using a command line interface.
|
||||
|
5
cross/nano/PLIST
Executable file → Normal file
@ -1 +1,6 @@
|
||||
bin:bin/nano
|
||||
bin:bin/rnano
|
||||
rsc:share/info/
|
||||
rsc:share/info/
|
||||
rsc:share/locale/
|
||||
rsc:share/nano/
|
||||
|
@ -1,3 +1,3 @@
|
||||
nano-2.9.8.tar.gz SHA1 f0b55fbc16d4ecf259b9f25a028fe2e381f02d08
|
||||
nano-2.9.8.tar.gz SHA256 07192c320b74c1fb78437021e9affa6a9d55b806ee012de601902392eaa03601
|
||||
nano-2.9.8.tar.gz MD5 fd58e87c20abbf029e5c4b153c89232a
|
||||
nano-4.4.tar.gz SHA1 923449ad250351a5b5b0711dde7a5078ac5be387
|
||||
nano-4.4.tar.gz SHA256 10204379779cfa6cc4885aae9f70108c48177b73bade336a13f30460975867a0
|
||||
nano-4.4.tar.gz MD5 ba33fcb0266b63abff279df17ccf2d04
|
||||
|
@ -1,5 +1,5 @@
|
||||
PKG_NAME = ncdu
|
||||
PKG_VERS = 1.12
|
||||
PKG_VERS = 1.14.1
|
||||
PKG_EXT = tar.gz
|
||||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
|
||||
PKG_DIST_SITE = https://dev.yorhel.nl/download
|
||||
|
@ -1,3 +1,3 @@
|
||||
ncdu-1.12.tar.gz SHA1 b79b1c44784f334dca74d89a49f49274f14cfeef
|
||||
ncdu-1.12.tar.gz SHA256 820e4e4747a2a2ec7a2e9f06d2f5a353516362c22496a10a9834f871b877499a
|
||||
ncdu-1.12.tar.gz MD5 7365ac46c420bc511621216b1747984f
|
||||
ncdu-1.14.1.tar.gz SHA1 143c09158094adbb44f37945b7ba8bb1428862b1
|
||||
ncdu-1.14.1.tar.gz SHA256 be31e0e8c13a0189f2a186936f7e298c6390ebdc573bb4a1330bc1fcbf56e13e
|
||||
ncdu-1.14.1.tar.gz MD5 0df5a1ce766f2f79f4562e8b413da9b2
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin:bin/pcre-config
|
||||
rsc:bin/pcre-config
|
||||
bin:bin/pcregrep
|
||||
bin:bin/pcretest
|
||||
lnk:lib/libpcrecpp.so
|
||||
|
36
cross/rhash/Makefile
Executable file → Normal file
@ -1,5 +1,5 @@
|
||||
PKG_NAME = RHash
|
||||
PKG_VERS = 1.3.5
|
||||
PKG_VERS = 1.3.8
|
||||
PKG_EXT = tar.gz
|
||||
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
|
||||
PKG_DIST_SITE = https://github.com/rhash/RHash/archive
|
||||
@ -8,17 +8,29 @@ PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
|
||||
|
||||
DEPENDS =
|
||||
|
||||
HOMEPAGE = http://rhash.sourceforge.net/
|
||||
COMMENT = RHash is a console utility for computing and verifying hash sums of files.
|
||||
LICENSE = MIT
|
||||
HOMEPAGE = http://rhash.sourceforge.net/
|
||||
COMMENT = RHash is a console utility for computing and verifying hash sums of files.
|
||||
LICENSE = MIT
|
||||
|
||||
GNU_CONFIGURE = 0
|
||||
CONFIGURE_TARGET=nop
|
||||
INSTALL_TARGET = myInstall
|
||||
|
||||
ifeq ($(findstring $(ARCH), $(ARM5_ARCHES)),$(ARCH))
|
||||
CONFIGURE_ARGS = --target=arm-linux
|
||||
endif
|
||||
ifeq ($(findstring $(ARCH), $(ARM7_ARCHES)),$(ARCH))
|
||||
CONFIGURE_ARGS = --target=arm-linux
|
||||
endif
|
||||
ifeq ($(findstring $(ARCH), $(ARM8_ARCHES)),$(ARCH))
|
||||
CONFIGURE_ARGS = --target=aarch64-linux
|
||||
endif
|
||||
ifeq ($(findstring $(ARCH), $(PPC_ARCHES)),$(ARCH))
|
||||
CONFIGURE_ARGS = --target=ppc-linux
|
||||
endif
|
||||
ifeq ($(findstring $(ARCH), $(x86_ARCHES)),$(ARCH))
|
||||
CONFIGURE_ARGS = --target=x86-linux
|
||||
endif
|
||||
ifeq ($(findstring $(ARCH), $(x64_ARCHES)),$(ARCH))
|
||||
CONFIGURE_ARGS = --target=x86_64-linux
|
||||
endif
|
||||
CONFIGURE_ARGS += --prefix=$(INSTALL_PREFIX) --enable-symlinks --enable-static
|
||||
|
||||
include ../../mk/spksrc.cross-cc.mk
|
||||
|
||||
.PHONY: myInstall
|
||||
myInstall:
|
||||
@$(RUN) mkdir -p $(STAGING_INSTALL_PREFIX)/bin/
|
||||
@$(RUN) cp rhash $(STAGING_INSTALL_PREFIX)/bin/
|
||||
|
11
cross/rhash/PLIST
Executable file → Normal file
@ -1 +1,12 @@
|
||||
bin:bin/ed2k-link
|
||||
bin:bin/edonr256-hash
|
||||
bin:bin/edonr512-hash
|
||||
bin:bin/gost-hash
|
||||
bin:bin/has160-hash
|
||||
bin:bin/magnet-link
|
||||
bin:bin/rhash
|
||||
bin:bin/sfv-hash
|
||||
bin:bin/tiger-hash
|
||||
bin:bin/tth-hash
|
||||
bin:bin/whirlpool-hash
|
||||
rsc:etc/rhashrc
|
||||
|
@ -1,3 +1,3 @@
|
||||
RHash-v1.3.5.tar.gz SHA1 990c9a0135afe48dee4ce1dbf83578e44735f302
|
||||
RHash-v1.3.5.tar.gz SHA256 98e0688acae29e68c298ffbcdbb0f838864105f9b2bd8857980664435b1f1f2e
|
||||
RHash-v1.3.5.tar.gz MD5 f586644019c10c83c6b6835de4b99e74
|
||||
RHash-v1.3.8.tar.gz SHA1 89eac9833bd005a8ea819365cacbd19542b67e93
|
||||
RHash-v1.3.8.tar.gz SHA256 be536a56acfefc87dbc8b1db30fc639020e41edf05518185ea98630e3df7c04c
|
||||
RHash-v1.3.8.tar.gz MD5 dcf91195581e2f821eaa1d3e3c504515
|
||||
|
@ -1,5 +1,5 @@
|
||||
PKG_NAME = tree
|
||||
PKG_VERS = 1.7.0
|
||||
PKG_VERS = 1.8.0
|
||||
PKG_EXT = tgz
|
||||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
|
||||
PKG_DIST_SITE = http://mama.indstate.edu/users/ice/tree/src/
|
||||
@ -7,17 +7,14 @@ PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
|
||||
|
||||
HOMEPAGE = http://mama.indstate.edu/users/ice/tree/
|
||||
COMMENT = Tree is a recursive directory listing command that produces a depth indented listing of files, which is colorized ala dircolors if the LS_COLORS environment variable is set and output is to tty. Tree has been ported and reported to work under the following operating systems: Linux, FreeBSD, OS X, Solaris, HP/UX, Cygwin, HP Nonstop and OS/2.
|
||||
# LICENSE =
|
||||
LICENSE = GPL v2
|
||||
|
||||
ADDITIONAL_CFLAGS = -fomit-frame-pointer
|
||||
|
||||
GNU_CONFIGURE = 1
|
||||
CONFIGURE_TARGET = none
|
||||
#INSTALL_TARGET = myInstall
|
||||
CONFIGURE_TARGET = nop
|
||||
INSTALL_TARGET = tree_install_target
|
||||
|
||||
include ../../mk/spksrc.cross-cc.mk
|
||||
|
||||
.PHONY: myInstall
|
||||
myInstall:
|
||||
# $(RUN) $(MAKE) install DESTDIR=$(INSTALL_DIR)
|
||||
$(RUN) $(MAKE) install DESTDIR=$(STAGING_INSTALL_PREFIX)
|
||||
.PHONY: tree_install_target
|
||||
tree_install_target:
|
||||
$(RUN) $(MAKE) install prefix=$(STAGING_INSTALL_PREFIX)
|
||||
|
@ -1,2 +1 @@
|
||||
bin:bin/tree
|
||||
rsc:man/man1/tree.1
|
||||
|
@ -1,3 +1,3 @@
|
||||
tree-1.7.0.tgz SHA1 35bd212606e6c5d60f4d5062f4a59bb7b7b25949
|
||||
tree-1.7.0.tgz SHA256 6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
|
||||
tree-1.7.0.tgz MD5 abe3e03e469c542d8e157cdd93f4d8a6
|
||||
tree-1.8.0.tgz SHA1 06934bf1f6a92af4eaec6bc61e568cec5e068ba1
|
||||
tree-1.8.0.tgz SHA256 715d5d4b434321ce74706d0dd067505bb60c5ea83b5f0b3655dae40aa6f9b7c2
|
||||
tree-1.8.0.tgz MD5 715191c7f369be377fc7cc8ce0ccd835
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- Makefile.orig 2019-01-26 21:44:34.571112711 +0100
|
||||
+++ Makefile 2019-01-26 21:44:44.315151754 +0100
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
prefix = /usr
|
||||
|
||||
-CC=gcc
|
||||
+#CC=gcc
|
||||
|
||||
VERSION=1.8.0
|
||||
TREE_DEST=tree
|
@ -1,5 +1,5 @@
|
||||
SPK_NAME = jdupes
|
||||
SPK_VERS = 1.51
|
||||
SPK_VERS = 1.13.2
|
||||
SPK_REV = 2
|
||||
SPK_ICON = src/jdupes.png
|
||||
|
||||
@ -15,9 +15,6 @@ HOMEPAGE = https://github.com/jbruchon/jdupes/
|
||||
LICENSE = MIT
|
||||
HELP_URL = https://github.com/jbruchon/jdupes/README
|
||||
|
||||
INSTALLER_SCRIPT = src/installer.sh
|
||||
SSS_SCRIPT = src/dsm-control.sh
|
||||
|
||||
INSTALL_PREFIX = /usr/local/$(SPK_NAME)
|
||||
SERVICE_SETUP = src/service-setup.sh
|
||||
|
||||
include ../../mk/spksrc.spk.mk
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
13
diyspk/jdupes/src/service-setup.sh
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
service_postinst ()
|
||||
{
|
||||
# Put jdupes in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s /var/packages/${SYNOPKG_PKGNAME}/target/bin/jdupes /usr/local/bin/jdupes
|
||||
}
|
||||
|
||||
service_postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f /usr/local/bin/jdupes
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
SPK_NAME = less
|
||||
SPK_VERS = 481
|
||||
SPK_VERS = 530
|
||||
SPK_REV = 1
|
||||
SPK_ICON = src/gnu-logo.png
|
||||
|
||||
@ -15,9 +15,6 @@ HOMEPAGE = https://www.gnu.org/software/less/
|
||||
LICENSE = GPLv3
|
||||
HELP_URL = http://www.greenwoodsoftware.com/less/faq.html
|
||||
|
||||
INSTALLER_SCRIPT = src/installer.sh
|
||||
SSS_SCRIPT = src/dsm-control.sh
|
||||
|
||||
INSTALL_PREFIX = /usr/local/$(SPK_NAME)
|
||||
SERVICE_SETUP = src/service-setup.sh
|
||||
|
||||
include ../../mk/spksrc.spk.mk
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
13
diyspk/less/src/service-setup.sh
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
service_postinst ()
|
||||
{
|
||||
# Put less in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s /var/packages/${SYNOPKG_PKGNAME}/target/bin/less /usr/local/bin/less
|
||||
}
|
||||
|
||||
service_postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f /usr/local/bin/less
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
SPK_NAME = mc
|
||||
SPK_VERS = 4.8.21
|
||||
SPK_REV = 5
|
||||
SPK_VERS = 4.8.23
|
||||
SPK_REV = 6
|
||||
SPK_ICON = src/mc.png
|
||||
|
||||
DEPENDS = cross/mc
|
||||
@ -11,7 +11,7 @@ DESCRIPTION_FRE = Midnight Commander est une application en mode texte. L\'inter
|
||||
RELOAD_UI = no
|
||||
DISPLAY_NAME = Midnight Commander
|
||||
STARTABLE = no
|
||||
CHANGELOG = Update to 4.8.21
|
||||
CHANGELOG = Update to 4.8.23
|
||||
|
||||
HOMEPAGE = http://www.midnight-commander.org
|
||||
LICENSE = GNU GPL
|
||||
@ -24,4 +24,4 @@ include ../../mk/spksrc.spk.mk
|
||||
|
||||
.PHONY: mc_extra_install
|
||||
mc_extra_install:
|
||||
install -m 755 src/mc-utf8 $(STAGING_DIR)/bin/mc-utf8
|
||||
install -m 755 ../../spk/synocli-file/src/mc-utf8 $(STAGING_DIR)/bin/mc-utf8
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
@ -1,6 +1,6 @@
|
||||
SPK_NAME = ncdu
|
||||
SPK_VERS = 1.12
|
||||
SPK_REV = 1
|
||||
SPK_VERS = 1.14.1
|
||||
SPK_REV = 2
|
||||
SPK_ICON = src/ncdu.png
|
||||
|
||||
DEPENDS = cross/$(SPK_NAME)
|
||||
@ -15,9 +15,6 @@ CHANGELOG = "Initial release"
|
||||
HOMEPAGE = https://dev.yorhel.nl/ncdu
|
||||
LICENSE = MIT
|
||||
|
||||
INSTALLER_SCRIPT = src/installer.sh
|
||||
SSS_SCRIPT = src/dsm-control.sh
|
||||
|
||||
INSTALL_PREFIX = /usr/local/$(SPK_NAME)
|
||||
SERVICE_SETUP = src/service-setup.sh
|
||||
|
||||
include ../../mk/spksrc.spk.mk
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
13
diyspk/ncdu/src/service-setup.sh
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
service_postinst ()
|
||||
{
|
||||
# Put ncdu in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s /var/packages/${SYNOPKG_PKGNAME}/target/bin/ncdu /usr/local/bin/ncdu
|
||||
}
|
||||
|
||||
service_postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f /usr/local/bin/ncdu
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
SPK_NAME = rhash
|
||||
SPK_VERS = 1.3.5
|
||||
SPK_VERS = 1.3.8
|
||||
SPK_REV = 1
|
||||
|
||||
DEPENDS = cross/$(SPK_NAME)
|
||||
@ -9,13 +9,12 @@ DESCRIPTION = "RHash is a console utility for calculation and verification of ma
|
||||
RELOAD_UI = no
|
||||
DISPLAY_NAME = rhash
|
||||
STARTABLE = no
|
||||
BETA = 1
|
||||
|
||||
HOMEPAGE = http://rhash.sourceforge.net/
|
||||
LICENSE = MIT
|
||||
|
||||
INSTALLER_SCRIPT = src/installer.sh
|
||||
|
||||
INSTALL_PREFIX = /usr/local/$(SPK_NAME)
|
||||
SERVICE_SETUP = src/service-setup.sh
|
||||
|
||||
include ../../mk/spksrc.spk.mk
|
||||
|
13
diyspk/rhash/src/service-setup.sh
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
service_postinst ()
|
||||
{
|
||||
# Put rhash in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s /var/packages/${SYNOPKG_PKGNAME}/target/bin/rhash /usr/local/bin/rhash
|
||||
}
|
||||
|
||||
service_postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f /usr/local/bin/rhash
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
SPK_NAME = tree
|
||||
SPK_VERS = 1.7.0
|
||||
SPK_VERS = 1.8.0
|
||||
SPK_REV = 1
|
||||
# SPK_ICON = src/tree.png
|
||||
|
||||
DEPENDS = cross/tree
|
||||
|
||||
@ -10,13 +9,12 @@ DESCRIPTION = Tree is a recursive directory listing command that produces a dept
|
||||
RELOAD_UI = no
|
||||
DISPLAY_NAME = Tree
|
||||
STARTABLE = no
|
||||
CHANGELOG = First release 1.7.0
|
||||
BETA = 1
|
||||
CHANGELOG = First release 1.8.0
|
||||
|
||||
HOMEPAGE = http://mama.indstate.edu/users/ice/tree/index.html
|
||||
# LICENSE = GNU GPL
|
||||
LICENSE = Unknown
|
||||
|
||||
INSTALLER_SCRIPT = src/install.sh
|
||||
|
||||
INSTALL_PREFIX = /usr/local/$(SPK_NAME)
|
||||
SERVICE_SETUP = src/service-setup.sh
|
||||
|
||||
include ../../mk/spksrc.spk.mk
|
13
diyspk/tree/src/service-setup.sh
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
service_postinst ()
|
||||
{
|
||||
# Put tree in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s /var/packages/${SYNOPKG_PKGNAME}/target/bin/tree /usr/local/bin/tree
|
||||
}
|
||||
|
||||
service_postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f /usr/local/bin/tree
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Package
|
||||
PACKAGE="jdupes"
|
||||
DNAME="jdupes"
|
||||
|
||||
# Others
|
||||
INSTALL_DIR="/usr/local/${PACKAGE}"
|
||||
PATH="${INSTALL_DIR}/bin:${PATH}"
|
||||
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
exit 0
|
||||
;;
|
||||
stop)
|
||||
exit 0
|
||||
;;
|
||||
status)
|
||||
exit 1
|
||||
;;
|
||||
log)
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
@ -1,51 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Package
|
||||
PACKAGE="jdupes"
|
||||
DNAME="jdupes"
|
||||
|
||||
# Others
|
||||
INSTALL_DIR="/usr/local/${PACKAGE}"
|
||||
PATH="${INSTALL_DIR}/bin:${PATH}"
|
||||
|
||||
|
||||
preinst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postinst ()
|
||||
{
|
||||
# Link
|
||||
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR}
|
||||
|
||||
# Put jdupes in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s ${INSTALL_DIR}/bin/jdupes /usr/local/bin/jdupes
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preuninst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f ${INSTALL_DIR}
|
||||
rm -f /usr/local/bin/jdupes
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Package
|
||||
PACKAGE="less"
|
||||
DNAME="Less"
|
||||
|
||||
# Others
|
||||
INSTALL_DIR="/usr/local/${PACKAGE}"
|
||||
PATH="${INSTALL_DIR}/bin:${PATH}"
|
||||
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
exit 0
|
||||
;;
|
||||
stop)
|
||||
exit 0
|
||||
;;
|
||||
status)
|
||||
exit 1
|
||||
;;
|
||||
log)
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
@ -1,51 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Package
|
||||
PACKAGE="less"
|
||||
DNAME="Less"
|
||||
|
||||
# Others
|
||||
INSTALL_DIR="/usr/local/${PACKAGE}"
|
||||
PATH="${INSTALL_DIR}/bin:${PATH}"
|
||||
|
||||
|
||||
preinst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postinst ()
|
||||
{
|
||||
# Link
|
||||
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR}
|
||||
|
||||
# Put less in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s ${INSTALL_DIR}/bin/less /usr/local/bin/less
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preuninst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f ${INSTALL_DIR}
|
||||
rm -f /usr/local/bin/less
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
NCURSES_NO_UTF8_ACS=1 LC_ALL=en_US.UTF8 /usr/local/mc/bin/mc "$@"
|
@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Package
|
||||
PACKAGE="ncdu"
|
||||
DNAME="ncdu"
|
||||
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
exit 0
|
||||
;;
|
||||
stop)
|
||||
exit 0
|
||||
;;
|
||||
status)
|
||||
exit 0
|
||||
;;
|
||||
log)
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
@ -1,49 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Package
|
||||
PACKAGE="ncdu"
|
||||
DNAME="ncdu"
|
||||
|
||||
# Others
|
||||
INSTALL_DIR="/usr/local/${PACKAGE}"
|
||||
|
||||
|
||||
preinst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postinst ()
|
||||
{
|
||||
# Link
|
||||
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR}
|
||||
|
||||
# Put the binary in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s ${INSTALL_DIR}/bin/${PACKAGE} /usr/local/bin/${PACKAGE}
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preuninst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f ${INSTALL_DIR}
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Package
|
||||
PACKAGE="rhash"
|
||||
DNAME="rhash"
|
||||
|
||||
# Others
|
||||
INSTALL_DIR="/usr/local/${PACKAGE}"
|
||||
|
||||
|
||||
preinst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postinst ()
|
||||
{
|
||||
# Link
|
||||
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR}
|
||||
|
||||
# Put nano in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s ${INSTALL_DIR}/bin/rhash /usr/local/bin/rhash
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preuninst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f ${INSTALL_DIR}
|
||||
rm -f /usr/local/bin/rhash
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|
27
spk/synocli-file/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
include ../../mk/spksrc.common.mk
|
||||
|
||||
SPK_NAME = synocli-file
|
||||
SPK_VERS = 1.0
|
||||
SPK_REV = 1
|
||||
SPK_ICON = src/synocli-file.png
|
||||
|
||||
DEPENDS = cross/jdupes cross/less cross/tree cross/rhash cross/mc cross/nano cross/ncdu
|
||||
|
||||
MAINTAINER = m4tt075
|
||||
DESCRIPTION = "SynoCli File Tools provides a set of small command-line utilities: jdupes, less, tree, rhash, mc \(midnight commander\), nano, ncdu. Credits to Sebastian Schmidt \(publicarray\) for icons"
|
||||
DISPLAY_NAME = SynoCli File Tools
|
||||
STARTABLE = no
|
||||
CHANGELOG = "1. Initial release"
|
||||
|
||||
HOMEPAGE = https://github.com/SynoCommunity/spksrc/wiki/FAQ-SynoCliFile
|
||||
LICENSE = Mixed
|
||||
|
||||
SERVICE_SETUP = src/service-setup.sh
|
||||
|
||||
POST_STRIP_TARGET = synoclifile_extra_install
|
||||
|
||||
include ../../mk/spksrc.spk.mk
|
||||
|
||||
.PHONY: synoclifile_extra_install
|
||||
synoclifile_extra_install:
|
||||
install -m 755 src/mc-utf8 $(STAGING_DIR)/bin/mc-utf8
|
0
spk/synocli-file/PLIST
Normal file
5
spk/synocli-file/src/mc-utf8
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT=`readlink -f "$0"`
|
||||
SCRIPT_PATH=`dirname "$SCRIPT"`
|
||||
NCURSES_NO_UTF8_ACS=1 LC_ALL=en_US.UTF8 exec $SCRIPT_PATH/mc "$@"
|
35
spk/synocli-file/src/service-setup.sh
Normal file
@ -0,0 +1,35 @@
|
||||
|
||||
COMMANDS="jdupes less lessecho lesskey tree ed2k-link edonr256-hash edonr512-hash ghost-hash has160-hash magnet-link"
|
||||
COMMANDS+="rhash sfv-hash tiger-hash tth-hash whirlpool-hash nano rnano ncdu"
|
||||
|
||||
service_postinst ()
|
||||
{
|
||||
for cmd in $COMMANDS
|
||||
do
|
||||
if [ -e "${SYNOPKG_PKGDEST}/bin/$cmd" ]; then
|
||||
ln -s "${SYNOPKG_PKGDEST}/bin/$cmd" "/usr/local/bin/$cmd"
|
||||
fi
|
||||
done
|
||||
|
||||
# Set custom links for midnight commander
|
||||
ln -s ${SYNOPKG_PKGDEST}/bin/mc-utf8 /usr/local/bin/mc
|
||||
ln -s ${SYNOPKG_PKGDEST}/bin/mc-utf8 /usr/local/bin/mcedit
|
||||
ln -s ${SYNOPKG_PKGDEST}/bin/mc-utf8 /usr/local/bin/mcdiff
|
||||
ln -s ${SYNOPKG_PKGDEST}/bin/mc-utf8 /usr/local/bin/mcview
|
||||
}
|
||||
|
||||
service_postuninst ()
|
||||
{
|
||||
for cmd in $COMMANDS
|
||||
do
|
||||
if [ -e "/usr/local/bin/$cmd" ]; then
|
||||
rm -f "/usr/local/bin/$cmd"
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove custom links for midnight commander
|
||||
rm -f /usr/local/bin/mc
|
||||
rm -f /usr/local/bin/mcedit
|
||||
rm -f /usr/local/bin/mcdiff
|
||||
rm -f /usr/local/bin/mcview
|
||||
}
|
BIN
spk/synocli-file/src/synocli-file.png
Normal file
After Width: | Height: | Size: 39 KiB |
@ -1,51 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Package
|
||||
PACKAGE="tree"
|
||||
DNAME="Tree"
|
||||
|
||||
# Others
|
||||
INSTALL_DIR="/usr/local/${PACKAGE}"
|
||||
PATH="${INSTALL_DIR}/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin"
|
||||
|
||||
|
||||
preinst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postinst ()
|
||||
{
|
||||
# Link
|
||||
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR}
|
||||
|
||||
# Put tree in the PATH
|
||||
mkdir -p /usr/local/bin
|
||||
ln -s ${INSTALL_DIR}/bin/tree /usr/local/bin/tree
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preuninst ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postuninst ()
|
||||
{
|
||||
# Remove link
|
||||
rm -f ${INSTALL_DIR}
|
||||
rm -f /usr/local/bin/tree
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
preupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|
||||
|
||||
postupgrade ()
|
||||
{
|
||||
exit 0
|
||||
}
|