diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2019-05-05 14:06:17 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2019-05-05 14:06:17 +0300 |
commit | 6cdfbd78b88fd9259e38b2aa910353bab7add5ae (patch) | |
tree | 78fe99cd4e4fd39ff412bec9cac0b2f64b4529fb | |
parent | 002ce394b83778e524d745a916a6ff6fdc4ccfac (diff) |
duperemove added
-rw-r--r-- | packages/sys-fs/duperemove/duperemove-scm.exheres-0 | 6 | ||||
-rw-r--r-- | packages/sys-fs/duperemove/duperemove.exlib | 32 |
2 files changed, 38 insertions, 0 deletions
diff --git a/packages/sys-fs/duperemove/duperemove-scm.exheres-0 b/packages/sys-fs/duperemove/duperemove-scm.exheres-0 new file mode 100644 index 0000000..b28db7c --- /dev/null +++ b/packages/sys-fs/duperemove/duperemove-scm.exheres-0 @@ -0,0 +1,6 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2019 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +require duperemove + +PLATFORMS="~amd64 ~x86" diff --git a/packages/sys-fs/duperemove/duperemove.exlib b/packages/sys-fs/duperemove/duperemove.exlib new file mode 100644 index 0000000..e8188ae --- /dev/null +++ b/packages/sys-fs/duperemove/duperemove.exlib @@ -0,0 +1,32 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2019 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +require github [ user=markfasheh tag=v${PV} ] + +export_exlib_phases src_prepare src_install + +SLOT="0" +LICENCES="GPL-2" + +DEPENDENCIES=" + build+run: + dev-db/sqlite:3 + dev-libs/glib:2 +" + +duperemove_src_prepare() { + edo sed -e "s/pkg-config/$(exhost --target)-pkg-config/g" -i "${WORK}"/Makefile +} + +#duperemove_src_compile() { +# cd "${WORKBASE}/${PNV}" +# make -j1 +#} + +duperemove_src_install() { + default + edo mkdir -p "${IMAGE}"/usr/$(exhost --target)/bin + edo mv "${IMAGE}"/usr/local/share/* "${IMAGE}"/usr/share/ + edo mv "${IMAGE}"/usr/local/sbin/* "${IMAGE}"/usr/$(exhost --target)/bin/ + edo rm -rf "${IMAGE}"/usr/local +} |