summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Alï Polatel <alip@exherbo.org> 2021-07-03 10:04:17 +0000
committerAvatar Alï Polatel <alip@exherbo.org> 2021-07-03 12:26:47 +0200
commitf47e4bc520a65f83ca41d11764e7628329a85ae9 (patch)
treeb012bc6bb6345d065f9b91f5750ebd29d244f527
parentffd67704c972de2a29da83fdac738a84a457b768 (diff)
downloadalip-f47e4bc520a65f83ca41d11764e7628329a85ae9.tar.gz
alip-f47e4bc520a65f83ca41d11764e7628329a85ae9.tar.xz
Initial exheres for caitsith-tools
Signed-off-by: Alï Polatel <alip@exherbo.org>
-rw-r--r--packages/sys-apps/caitsith-tools/caitsith-tools-0.2_20210606.exheres-037
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/sys-apps/caitsith-tools/caitsith-tools-0.2_20210606.exheres-0 b/packages/sys-apps/caitsith-tools/caitsith-tools-0.2_20210606.exheres-0
new file mode 100644
index 0000000..53555d3
--- /dev/null
+++ b/packages/sys-apps/caitsith-tools/caitsith-tools-0.2_20210606.exheres-0
@@ -0,0 +1,37 @@
+# Copyright 2021 Ali Polatel <alip@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+MY_PV="${PV/_/-}"
+MY_PNV="${PN}-${MY_PV}"
+WORK="${WORKBASE}/${PN}"
+
+SUMMARY="User-space tools for CaitSith"
+HOMEPAGE="https://${PN}.osdn.jp/"
+DOWNLOADS="https://jaist.dl.osdn.jp/caitsith/66538/${MY_PNV}.tar.gz"
+
+LICENCES="GPL-2"
+SLOT="0"
+PLATFORMS="~amd64"
+
+DEPENDENCIES="
+"
+
+BUGS_TO="alip@exherbo.org"
+
+emake_caithsith() {
+ local target="$(exhost --target)"
+
+ emake \
+ SBINDIR="/usr/${target}/bin" \
+ USRSBINDIR="/usr/${target}/bin" \
+ USRLIBDIR="/usr/${target}/lib" \
+ INSTALLDIR="${IMAGE}" "$@"
+}
+
+src_compile() {
+ emake_caithsith
+}
+
+src_install() {
+ emake_caithsith install
+}