void-packages/srcpkgs/irssi/irssi-perl.template
Juan RP 2433e8662c irssi: uses ncursesw, make perl support into a subpkg.
--HG--
extra : convert_revision : cf23357b16a204f51eaa33143fbef69ad15cfd1a
2010-02-20 02:58:37 +01:00

23 lines
610 B
Text

# Template file for 'irssi-perl'.
#
short_desc="${sourcepkg} perl support"
long_desc="${long_desc}
This package contains the modules to enable perl support with the
irssi package, and related perl scripts included."
Add_dependency run perl
Add_dependency run irssi
Add_dependency run glibc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/irssi/modules
mkdir -p ${DESTDIR}/usr/share/irssi
mv ${SRCPKGDESTDIR}/usr/lib/perl5 ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/irssi/modules/*perl* \
${DESTDIR}/usr/lib/irssi/modules
mv ${SRCPKGDESTDIR}/usr/share/irssi/scripts \
${DESTDIR}/usr/share/irssi
}