--- /dev/null
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Tools for reading and writing Data Matrix barcodes"
+HOMEPAGE="https://github.com/dmtx/dmtx-utils"
+SRC_URI="https://github.com/dmtx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=media-gfx/imagemagick-6.2.4:=
+ >=media-libs/libdmtx-0.7.0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ahippo@yandex.ru</email>
+ <name>Andrey Mazo</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Tools for reading and writing two-dimensional Data Matrix barcodes.
+ The tools are based on libdmtx library.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">dmtx/dmtx-utils</remote-id>
+ <remote-id type="sourceforge">libdmtx</remote-id>
+ <bugs-to>https://github.com/dmtx/dmtx-utils/issues</bugs-to>
+ </upstream>
+</pkgmetadata>