Added check-build.sh file to project to limit the platforms where it is
built.
This commit is contained in:
parent
0332b6610e
commit
f08172971e
@ -6,7 +6,7 @@ test -z "$srcdir" && srcdir=.
|
|||||||
|
|
||||||
ORIGDIR=`pwd`
|
ORIGDIR=`pwd`
|
||||||
cd $srcdir
|
cd $srcdir
|
||||||
PROJECT=CASA
|
PROJECT=CASA_auth_token_svc
|
||||||
TEST_TYPE=-f
|
TEST_TYPE=-f
|
||||||
FILE=configure.in
|
FILE=configure.in
|
||||||
|
|
||||||
|
@ -18,7 +18,12 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
#how do you get the version??
|
|
||||||
|
SUBDIRS =
|
||||||
|
DIST_SUBDIRS =
|
||||||
|
|
||||||
|
EXTRA_DIST = CASA_auth_token_svc.changes CASA_auth_token_svc.spec.in check-build.sh
|
||||||
|
|
||||||
RPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).$(target_cpu).rpm
|
RPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).$(target_cpu).rpm
|
||||||
#SRPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
|
#SRPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
|
||||||
SRPM_FILE = $(PACKAGE)-$(VERSION)*.src.rpm
|
SRPM_FILE = $(PACKAGE)-$(VERSION)*.src.rpm
|
||||||
|
14
CASA-auth-token/server-java/package/linux/check-build.sh
Executable file
14
CASA-auth-token/server-java/package/linux/check-build.sh
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Testing if this arch is valid for this package"
|
||||||
|
case `uname -m` in
|
||||||
|
i?86|x86_64)
|
||||||
|
echo ... valid arch, will build...
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo ... invalid arch, will not build on this arch
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Reference in New Issue
Block a user