Ron Shacham | 0eba05c | 2020-05-08 15:13:19 -0400 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | #/***************************************************************************** |
| 3 | # * |
| 4 | # Copyright 2019 AT&T Intellectual Property * |
| 5 | # Copyright 2019 Nokia * |
| 6 | # * |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); * |
| 8 | # you may not use this file except in compliance with the License. * |
| 9 | # You may obtain a copy of the License at * |
| 10 | # * |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 * |
| 12 | # * |
| 13 | # Unless required by applicable law or agreed to in writing, software * |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, * |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * |
| 16 | # See the License for the specific language governing permissions and * |
| 17 | # limitations under the License. * |
| 18 | # * |
| 19 | #******************************************************************************/ |
| 20 | |
| 21 | echo "Will install asn1c" |
| 22 | sudo rm -rf asn1c |
| 23 | git clone https://gerrit.o-ran-sc.org/r/com/asn1c.git |
| 24 | cd asn1c/ |
| 25 | autoreconf -iv |
| 26 | ./configure |
| 27 | cd examples |
| 28 | chmod u+x crfc2asn1.pl |
| 29 | cd .. |
| 30 | make |
| 31 | sudo make install |