move package test-rpmatch:

- no more need, move to pkg-archive branch
This commit is contained in:
Stephan Raue 2009-10-22 10:39:39 +02:00
parent 97223960cc
commit 435146e378
4 changed files with 0 additions and 48 deletions

View File

@ -1,7 +0,0 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
make -C $BUILD/$1

View File

@ -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

View File

@ -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)

View File

@ -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);
}