From: | nado@××××××××××.be | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] git checkout in ebuild? | ||
Date: | Mon, 16 Oct 2017 06:16:45 | ||
Message-Id: | df5aac00410c2fb77441e9ddd8e8d9bc@troglodyte.be | ||
In Reply to: | [gentoo-dev] git checkout in ebuild? by Damo Brisbane |
1 | October 16, 2017 5:30 AM, "Damo Brisbane" wrote: |
2 | Hello, |
3 | |
4 | I am wanting to make an ebuild for Intel's (Apache 2 licensed) snap monitoring framework |
5 | (https://github.com/intelsdi-x/snap (https://github.com/intelsdi-x/snap)). It seems the current version (2.0.0) does not compile the |
6 | golang binaries with some type of recent grpc API incompatibility. I can successfully compile by |
7 | going: |
8 | |
9 | go get ... |
10 | |
11 | cd |
12 | |
13 | git checkout 1.3.0 |
14 | |
15 | make all |
16 | |
17 | This gets me the binaries (snaptel, snapteld); does anyone know if I can put this process (git |
18 | checkout..) into an .ebuild file (or some other suggestion)? |
19 | |
20 | Cheers, |
21 | Hi, |
22 | |
23 | You can use git-r3.eclass and use a specific tag or commit. |
24 | See examples on the tree : |
25 | https://github.com/gentoo/gentoo/search?utf8=%E2%9C%93&q=EGIT_COMMIT+git-r3&type= (https://github.com/gentoo/gentoo/search?utf8=%E2%9C%93&q=EGIT_COMMIT+git-r3&type=) |
26 | |
27 | Best regards, |
28 | -- |
29 | Corentin “Nado” Pazdera |
Subject | Author |
---|---|
Re: [gentoo-dev] git checkout in ebuild? | Azamat Hackimov <azamat.hackimov@×××××.com> |