Leonid Plyushch
6 years ago
276 changed files with 845 additions and 335 deletions
@ -1,10 +1,17 @@ |
|||||
TERMUX_PKG_HOMEPAGE=http://man7.org/linux/man-pages/man3/glob.3.html |
TERMUX_PKG_HOMEPAGE=http://man7.org/linux/man-pages/man3/glob.3.html |
||||
TERMUX_PKG_DESCRIPTION="Shared library for the glob(3) system function" |
TERMUX_PKG_DESCRIPTION="Shared library for the glob(3) system function" |
||||
TERMUX_PKG_LICENSE="BSD 3-Clause" |
TERMUX_PKG_LICENSE="BSD 3-Clause" |
||||
TERMUX_PKG_VERSION=0.4 |
TERMUX_PKG_VERSION=0.5 |
||||
TERMUX_PKG_BUILD_IN_SRC=yes |
TERMUX_PKG_BUILD_IN_SRC=yes |
||||
|
|
||||
|
termux_step_make() { |
||||
|
$CC $CFLAGS $CPPFLAGS -I$TERMUX_PKG_BUILDER_DIR -c $TERMUX_PKG_BUILDER_DIR/glob.c |
||||
|
$CC $LDFLAGS -shared glob.o -o libandroid-glob.so |
||||
|
$AR rcu libandroid-glob.a glob.o |
||||
|
} |
||||
|
|
||||
termux_step_make_install() { |
termux_step_make_install() { |
||||
cp $TERMUX_PKG_BUILDER_DIR/glob.h $TERMUX_PREFIX/include/ |
install -Dm600 $TERMUX_PKG_BUILDER_DIR/glob.h $TERMUX_PREFIX/include/glob.h |
||||
$CC $CFLAGS $CPPFLAGS $LDFLAGS $TERMUX_PKG_BUILDER_DIR/glob.c -shared -o $TERMUX_PREFIX/lib/libandroid-glob.so |
install -Dm600 libandroid-glob.a $TERMUX_PREFIX/lib/libandroid-glob.a |
||||
|
install -Dm600 libandroid-glob.so $TERMUX_PREFIX/lib/libandroid-glob.so |
||||
} |
} |
||||
|
@ -1,7 +1,9 @@ |
|||||
TERMUX_PKG_HOMEPAGE=https://github.com/termux/libandroid-shmem |
TERMUX_PKG_HOMEPAGE=https://github.com/termux/libandroid-shmem |
||||
TERMUX_PKG_DESCRIPTION="System V shared memory emulation on Android using ashmem" |
TERMUX_PKG_DESCRIPTION="System V shared memory emulation on Android using ashmem" |
||||
TERMUX_PKG_LICENSE="BSD 3-Clause" |
TERMUX_PKG_LICENSE="BSD 3-Clause" |
||||
TERMUX_PKG_VERSION=0.2 |
TERMUX_PKG_VERSION=0.2.1 |
||||
TERMUX_PKG_SRCURL=https://github.com/termux/libandroid-shmem/archive/v${TERMUX_PKG_VERSION}.tar.gz |
TERMUX_PKG_SRCURL=https://github.com/termux/libandroid-shmem/archive/v${TERMUX_PKG_VERSION}.tar.gz |
||||
TERMUX_PKG_SHA256=75e687f48c01d96ea1345f11c064ff76f7eb9a119f51ebe2f6253cf8b24a2b97 |
TERMUX_PKG_SHA256=09369398658af357e3644178d42ebfcc79ea11fe760b10855011521fc3e35be4 |
||||
|
TERMUX_PKG_BREAKS="libandroid-shmem-dev" |
||||
|
TERMUX_PKG_REPLACES="libandroid-shmem-dev" |
||||
TERMUX_PKG_BUILD_IN_SRC=yes |
TERMUX_PKG_BUILD_IN_SRC=yes |
||||
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue