{"action":"closed","issue":{"url":"https://api.github.com/repos/rindeal/gentoo/issues/1","repository_url":"https://api.github.com/repos/rindeal/gentoo","labels_url":"https://api.github.com/repos/rindeal/gentoo/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rindeal/gentoo/issues/1/comments","events_url":"https://api.github.com/repos/rindeal/gentoo/issues/1/events","html_url":"https://github.com/rindeal/gentoo/issues/1","id":156712549,"number":1,"title":"new package app-arch/zstd","user":{"login":"rindeal","id":5360877,"avatar_url":"https://avatars.githubusercontent.com/u/5360877?v=3","gravatar_id":"","url":"https://api.github.com/users/rindeal","html_url":"https://github.com/rindeal","followers_url":"https://api.github.com/users/rindeal/followers","following_url":"https://api.github.com/users/rindeal/following{/other_user}","gists_url":"https://api.github.com/users/rindeal/gists{/gist_id}","starred_url":"https://api.github.com/users/rindeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rindeal/subscriptions","organizations_url":"https://api.github.com/users/rindeal/orgs","repos_url":"https://api.github.com/users/rindeal/repos","events_url":"https://api.github.com/users/rindeal/events{/privacy}","received_events_url":"https://api.github.com/users/rindeal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-25T10:11:15Z","updated_at":"2016-06-21T20:50:29Z","closed_at":"2016-06-21T20:50:29Z","body":"- [app-arch/zstd](https://github.com/Cyan4973/zstd)\r\n\r\njm-overlay:\r\n```ebuild\r\n# Copyright 1999-2016 Gentoo Foundation\r\n# Distributed under the terms of the GNU General Public License v2\r\n# $Id$\r\n\r\nEAPI=5\r\n\r\ninherit multilib-minimal toolchain-funcs\r\n\r\nDESCRIPTION=\"Zstd, short for Zstandard, is a lossless compression algorithm\"\r\nHOMEPAGE=\"https://github.com/Cyan4973/zstd\"\r\nSRC_URI=\"https://github.com/Cyan4973/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz\"\r\n\r\nLICENSE=\"BSD-2\"\r\nSLOT=\"0\"\r\nKEYWORDS=\"~amd64 ~x86\"\r\nIUSE=\"static-libs +tools test\"\r\n\r\nDEPEND=\"\"\r\nRDEPEND=\"\"\r\n\r\nsrc_prepare() {\r\n\tsed -i \"s/install: libzstd/install:/\" lib/Makefile || die # Avoid recompiling during src_install\r\n\tsed -i \"s/install: zstd/install:/\" programs/Makefile || die\r\n\r\n\tepatch_user\r\n\r\n\tmultilib_copy_sources\r\n}\r\n\r\nmultilib_src_compile() {\r\n\tcd ./lib || die\r\n\temake CFLAGS=\"${CFLAGS} $(get_abi_CFLAGS)\" PREFIX=\"${D}/usr\" CC=\"$(tc-getCC)\" LIBDIR=\"${D}/usr/$(get_libdir)\"\r\n\tcd ..\r\n\r\n\tif (use tools && multilib_is_native_abi) || use test; then\r\n\t\tcd ./programs || die\r\n\t\temake CFLAGS=\"${CFLAGS} $(get_abi_CFLAGS)\" PREFIX=\"${D}/usr\" CC=\"$(tc-getCC)\" LIBDIR=\"${D}/usr/$(get_libdir)\"\r\n\t\tcd ..\r\n\tfi\r\n}\r\n\r\nmultilib_src_install() {\r\n\tcd ./lib || die\r\n\temake install CFLAGS=\"${CFLAGS} $(get_abi_CFLAGS)\" PREFIX=\"${D}/usr\" CC=\"$(tc-getCC)\" LIBDIR=\"${D}/usr/$(get_libdir)\"\r\n\tcd ..\r\n\r\n\tif use tools && multilib_is_native_abi; then\r\n\t\tcd ./bin\r\n\t\temake install CFLAGS=\"${CFLAGS} $(get_abi_CFLAGS)\" PREFIX=\"${D}/usr\" CC=\"$(tc-getCC)\" LIBDIR=\"${D}/usr/$(get_libdir)\"\r\n\t\tcd ..\r\n\tfi\r\n\r\n\tif ! use static-libs; then\r\n\t\teinfo \"deleting static library\"\r\n\t\trm \"${D}\"/usr/$(get_libdir)/libzstd.a || die\r\n\tfi\r\n}\r\n\r\nmultilib_src_install_all() {\r\n\tdodoc README.md NEWS\r\n\tdodoc -r images\r\n}\r\n```"}}
{"actor":{"display_login":"rindeal"}}