net-misc/rpki-client: Improvements from ::guru

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-05-06 22:53:14 +02:00
parent c9ecaa4dec
commit faf9d71d17
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 3 additions and 6 deletions

View file

@ -1 +1 @@
DIST rpki-client-0.3.0.tar.gz 81002 BLAKE2B acc428d14cfcfd0733236061d4b7bccce2fc898829ffc34603918e7cee1c7bf48496388c667027c9a3c319f41c46c58bd06e73088e2f2f80958dd5db34e1d5a6 SHA512 4169198074bd3e81008e34838a868313faa450c4fdf5bc827a5229a8ca4fbaa22fedd45d4dde59be0f15d8b80a27eb287a5e29eacc4a2c4a57e9c9e344ac3bbf DIST rpki-client-0.3.0.tar.gz 81004 BLAKE2B 1831ed0aab4f4112391ba2c40c7b335f5284c4fe13d2e0e59e5996c909368285073018a3d9b431f88fdc347a8281d2fc4613de68badcab011061e7274d3df2bf SHA512 92f62b3137a3848aa3cf27b5b303b1ce097da961dcb684b8bad9fa224690f2f233658bd3c73e48d60d3c7df965173a1c935b0497a61084fe0986dce4feb4bd70

View file

@ -23,17 +23,14 @@ DEPEND="
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
BDEPEND="" BDEPEND=""
S="${WORKDIR}/${PN}-${VERSION}"
src_configure() { src_configure() {
./configure CPPFLAGS="`pkg-config --cflags openssl`" \ ./configure CPPFLAGS="`pkg-config --cflags openssl`" \
LDFLAGS="`pkg-config --libs-only-L openssl`" \ LDFLAGS="`pkg-config --libs-only-L openssl`" \
LDADD="`pkg-config --libs openssl` -lresolv" LDADD="`pkg-config --libs openssl` -lresolv"
} }
src_unpack() {
unpack ${A}
mv "${WORKDIR}/${PN}-${VERSION}" "${S}"
}
src_install() { src_install() {
emake DESTDIR="${D}" BINDIR="/usr/bin" MANDIR="/usr/share/man" install emake DESTDIR="${D}" BINDIR="/usr/bin" MANDIR="/usr/share/man" install
insinto /usr/share/${PN} insinto /usr/share/${PN}