-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gffcompare: change build.sh to use prep_linux.sh (#12407)
- this is solution suggested by the developer: gpertea/gclib#4 - removed gffcompare as developer suggested - removed blacklist entry
- Loading branch information
1 parent
ac72d90
commit 89f140f
Showing
7 changed files
with
26 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p $PREFIX/bin | ||
make | ||
install gffcompare $PREFIX/bin/ | ||
# install gffcompare using the prep script of the | ||
# distribution. note that this works for linux and mac | ||
# since the prep_mac script just uses different names | ||
# for the directories (all the magic happens in the | ||
# Makefile) | ||
cd gffcompare | ||
./prep_linux.sh | ||
|
||
# in order to find the directory where the binaries | ||
# are installed the version is extracted as in the | ||
# prep script | ||
ver=$(fgrep '#define VERSION ' gffcompare.cpp) | ||
ver=${ver#*\"} | ||
ver=${ver%%\"*} | ||
cd gffcompare-"$ver" | ||
|
||
# copy binaries | ||
mkdir -p "$PREFIX"/bin/ | ||
cp gffcompare "$PREFIX"/bin/ | ||
cp trmap "$PREFIX"/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters