| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.8.3 | 8 | ~amd64 ~arm ~ppc64 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit webapp
DESCRIPTION="Simple way to manage your todo list in AJAX style."
HOMEPAGE="https://www.mytinytodo.net"
SRC_URI="https://github.com/maxpozdeev/mytinytodo/releases/download/v${PV}/${PN}-v${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~ppc64"
IUSE="+mysql sqlite notifications custom-css"
REQUIRED_USE="|| ( mysql sqlite )"
DEPEND="app-arch/unzip"
RDEPEND=">=dev-lang/php-7
mysql? ( virtual/mysql )
sqlite? ( dev-db/sqlite )
virtual/httpd-php"
S=${WORKDIR}/${PN}
src_prepare() {
default
if [ -f "ext/extensions.tar.gz" ]; then
if use notifications; then
tar xzf ext/extensions.tar.gz -C "${S}/ext" notifications
fi
if use custom-css; then
tar xzf ext/extensions.tar.gz -C "${S}/ext" CustomCSS
fi
rm "ext/extensions.tar.gz"
fi
}
src_install() {
webapp_src_preinst
insinto "${MY_HTDOCSDIR}"
doins -r .
keepdir "${MY_HTDOCSDIR}"/db
webapp_src_install
}
app-arch/unzip
>=dev-lang/php-7 mysql? ( virtual/mysql ) sqlite? ( dev-db/sqlite ) virtual/httpd-php
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | mytinytodo-v1.8.3.tar.gz | 351639 bytes | https://github.com/maxpozdeev/mytinytodo/releases/download/v1.8.3/mytinytodo-v1.8.3.tar.gz |