mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
move package test-rpmatch:
- no more need, move to pkg-archive branch
This commit is contained in:
parent
97223960cc
commit
435146e378
@ -1,7 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
|
||||||
|
|
||||||
make -C $BUILD/$1
|
|
@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp -f $BUILD/$1/test $INSTALL/usr/bin/test-rpmatch
|
|
@ -1,14 +0,0 @@
|
|||||||
CC ?= gcc
|
|
||||||
# CFLAGS = -static -Wall -g3 -ggdb3 -Os
|
|
||||||
LDFLAGS =
|
|
||||||
|
|
||||||
SRCS = test.c
|
|
||||||
PROG = test
|
|
||||||
|
|
||||||
all: $(PROG)
|
|
||||||
|
|
||||||
$(PROG): $(SRCS)
|
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f $(PROG)
|
|
@ -1,19 +0,0 @@
|
|||||||
#define _SVID_SOURCE
|
|
||||||
#include <locale.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int
|
|
||||||
main(int argc, char *argv[])
|
|
||||||
{
|
|
||||||
if (argc != 2 || strcmp(argv[1], "--help") == 0) {
|
|
||||||
fprintf(stderr, "%s response", argv[0]);
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
|
||||||
|
|
||||||
setlocale(LC_ALL, "");
|
|
||||||
printf("rpmatch() returns: %d", rpmatch(argv[1]));
|
|
||||||
exit(EXIT_SUCCESS);
|
|
||||||
}
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user