dev-cpp/date: add new package (#1470)

This commit is contained in:
陈浩南 authored and GitHub committed 2021-12-12 15:31:22 +08:00
1 parent effdbd066a
commit fe4103cbbe
3 files changed
+29

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST date-3.0.1.zip 941286 BLAKE2B 106ac66f778987096fb612039f7f51411a1181d94006dfd0b13dd5e8f5308a1ccce4c95cff128c2de7ba5622466964c0c3ec2df92a74bc30531fb048bd00c4e1 SHA512 f70175801f665a200c7991ae39c284562febae382aca679a7458ae4926941da6a7bbc622233c0f40e3c04939cde604637248082308047fc313b7de03b2e8a503
+20
View File
@@ -0,0 +1,20 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="A date and time library based on the C++11/14/17 <chrono> header"
HOMEPAGE="https://github.com/HowardHinnant/date"
SRC_URI="https://github.com/HowardHinnant/${PN}/archive/refs/tags/v${PV}.zip -> ${PN}-${PV}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="mirror"
src_install() {
doheader -r include/date
mkdir -p "${D}/usr/src" || die
cp -r src "${D}/usr/src/date" || die
}
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chn@chn.moe</email>
<name>Haonan Chen</name>
</maintainer>
</pkgmetadata>