diff options
Diffstat (limited to 'app-backup/rdup/rdup-1.0.2.ebuild')
-rw-r--r-- | app-backup/rdup/rdup-1.0.2.ebuild | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/app-backup/rdup/rdup-1.0.2.ebuild b/app-backup/rdup/rdup-1.0.2.ebuild index 49f7dafa3..cafe99aa8 100644 --- a/app-backup/rdup/rdup-1.0.2.ebuild +++ b/app-backup/rdup/rdup-1.0.2.ebuild @@ -11,28 +11,20 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" -RDEPEND="app-arch/libarchive +DEPEND="app-arch/libarchive dev-libs/glib dev-libs/libpcre - dev-libs/nettle" -DEPEND="${RDEPEND} + dev-libs/nettle test? ( dev-util/dejagnu )" - -pkg_setup() { - # warning to upgraders - if has_version ${CATEGORY}/${PN}; then - ewarn "In rdup 1.0.2, the rdup-simple script is moved from /usr/lib[64]/rdup to /usr/bin" - ewarn "Please be sure to update your scripts or crontabs accordingly." - fi -} - -src_compile() { - econf - emake || die "emake failed" -} +RDEPEND=${DEPEND} src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog DESIGN README || die "dodoc failed" } + +pkg_postinst() { + elog "In rdup 1.0.2, the rdup-simple script is moved from /usr/lib/rdup" + elog "to /usr/bin. Please be sure to update your scripts or crontabs accordingly." +} |