Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new packages to gpkg #95

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions gpkg-disabled/libelf/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
TERMUX_PKG_HOMEPAGE=https://sourceware.org/elfutils/
TERMUX_PKG_DESCRIPTION="ELF object file access library"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=0.189
TERMUX_PKG_SRCURL="https://sourceware.org/elfutils/ftp/${TERMUX_PKG_VERSION}/elfutils-${TERMUX_PKG_VERSION}.tar.bz2"
TERMUX_PKG_SHA256=39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8
TERMUX_PKG_DEPENDS="zlib-glibc, zstd-glibc"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--program-prefix="eu-"
--enable-deterministic-archives
"

termux_step_pre_configure() {
autoreconf -ivf
}
3 changes: 3 additions & 0 deletions gpkg-disabled/libelf/elfutils.subpackage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_DESCRIPTION="A collection of utilities to read, create and modify ELF binary files"
TERMUX_SUBPKG_INCLUDE="glibc/bin/eu-* glibc/etc/profile.d/debuginfod.* glibc/share/man/man8/* glibc/share/man/man1/*"
TERMUX_SUBPKG_DEPENDS="libarchive-glibc, libasm-glibc, libdebuginfod-glibc, libdw-glibc, libmicrohttpd, libsqlite"
3 changes: 3 additions & 0 deletions gpkg-disabled/libelf/libasm-static.subpackage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="glibc/lib/libasm.a"
TERMUX_SUBPKG_DESCRIPTION="Static library to assemble and disassemble instructions"
TERMUX_SUBPKG_DEPENDS="libasm-glibc"
3 changes: 3 additions & 0 deletions gpkg-disabled/libelf/libasm.subpackage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="glibc/lib/libasm*.so* glibc/include/elfutils/libasm.h"
TERMUX_SUBPKG_DESCRIPTION="Library to assemble and disassemble instructions"
TERMUX_SUBPKG_DEPENDS="libdw-glibc"
3 changes: 3 additions & 0 deletions gpkg-disabled/libelf/libdebuginfod.subpackage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_DESCRIPTION="Library for debuginfod"
TERMUX_SUBPKG_INCLUDE="glibc/lib/libdebuginfod*.so* glibc/include/elfutils/debuginfod.h glibc/lib/pkgconfig/libdebuginfod.pc glibc/share/man/man3/debuginfod_*"
TERMUX_SUBPKG_DEPENDS="libcurl-glibc"
3 changes: 3 additions & 0 deletions gpkg-disabled/libelf/libdw-static.subpackage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="glibc/lib/libdw.a"
TERMUX_SUBPKG_DESCRIPTION="Static library to read DWARF information"
TERMUX_SUBPKG_DEPENDS="libdw-glibc"
3 changes: 3 additions & 0 deletions gpkg-disabled/libelf/libdw.subpackage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="glibc/lib/libdw*.so* glibc/lib/pkgconfig/libdw.pc glibc/include/elfutils/known-dwarf.h glibc/include/elfutils/libdwfl.h glibc/include/elfutils/libdw.h glibc/include/dwarf.h"
TERMUX_SUBPKG_DESCRIPTION="Library to read DWARF information"
TERMUX_SUBPKG_DEPENDS="libbz2-glibc, liblzma-glibc"
12 changes: 12 additions & 0 deletions gpkg/bash-completion/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
TERMUX_PKG_HOMEPAGE=https://github.com/scop/bash-completion
TERMUX_PKG_DESCRIPTION="Programmable completion for the bash shell"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=2.11
TERMUX_PKG_SRCURL=https://github.com/scop/bash-completion/releases/download/${TERMUX_PKG_VERSION}/bash-completion-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac
TERMUX_PKG_DEPENDS="bash-glibc"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_RM_AFTER_INSTALL="
share/bash-completion/completions/makepkg
"
13 changes: 13 additions & 0 deletions gpkg/bash-completion/completions-man.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff -uNr bash-completion-2.9/completions/man bash-completion-2.9.mod/completions/man
--- bash-completion-2.9/completions/man 2019-04-27 11:54:49.000000000 +0300
+++ bash-completion-2.9.mod/completions/man 2019-05-02 15:36:06.454990217 +0300
@@ -51,8 +51,7 @@
return
fi

- local manpath=$(manpath 2>/dev/null || command man -w 2>/dev/null)
- [[ -z $manpath ]] && manpath="/usr/share/man:/usr/local/share/man"
+ local manpath="@TERMUX_PREFIX@/share/man"

# determine manual section to search
local sect
31 changes: 31 additions & 0 deletions gpkg/e2fsprogs/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
TERMUX_PKG_HOMEPAGE=https://e2fsprogs.sourceforge.net
TERMUX_PKG_DESCRIPTION="EXT 2/3/4 filesystem utilities"
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.0"
TERMUX_PKG_LICENSE_FILE="NOTICE"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=1.47.0
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$TERMUX_PKG_VERSION/e2fsprogs-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=144af53f2bbd921cef6f8bea88bb9faddca865da3fbc657cc9b4d2001097d5db
TERMUX_PKG_CONFFILES="glibc/etc/mke2fs.conf"
TERMUX_PKG_NO_STATICSPLIT=true
TERMUX_PKG_DEPENDS="libblkid-glibc, libuuid-glibc, bash-glibc"

TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--sbindir=${TERMUX_PREFIX}/bin
--with-crond_dir=${TERMUX_PREFIX}/etc/cron.d
--enable-symlink-install
--enable-symlink-build
--enable-relative-symlinks
--enable-elf-shlibs
--disable-fsck
--disable-uuidd
--disable-libuuid
--disable-libblkid
"

termux_step_make_install() {
make install install-libs
install -Dm600 \
"$TERMUX_PKG_SRCDIR"/misc/mke2fs.conf.in \
"$TERMUX_PREFIX"/etc/mke2fs.conf
}
Loading