summaryrefslogtreecommitdiffstats
path: root/app-misc/ds-scripts/ds-scripts-1.0-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/ds-scripts/ds-scripts-1.0-r1.ebuild')
-rw-r--r--app-misc/ds-scripts/ds-scripts-1.0-r1.ebuild54
1 files changed, 0 insertions, 54 deletions
diff --git a/app-misc/ds-scripts/ds-scripts-1.0-r1.ebuild b/app-misc/ds-scripts/ds-scripts-1.0-r1.ebuild
deleted file mode 100644
index bd71da7..0000000
--- a/app-misc/ds-scripts/ds-scripts-1.0-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header:
-
-DESCRIPTION="DarkSoft Scripts"
-KEYWORDS="alpha amd64 ppc sparc x86"
-DEPEND="dev-lang/perl"
-SLOT="0"
-
-src_unpack() {
- cd ${WORKDIR}
-
- tar xjf ${FILESDIR}/ds-scripts.tar.bz2
- tar xjf ${FILESDIR}/ds-video.tar.bz2
-}
-
-src_install() {
- cd ${WORKDIR}
-
- dodir /usr/bin
- install -c -m 755 ds-scripts/* ${D}/usr/bin || die
- install -c -m 755 ds-video/* ${D}/usr/bin || die
-
- ln -s dvd2divx ${D}/usr/bin/dvd2divx-encode || die
- ln -s dvd2divx ${D}/usr/bin/dvd2divx-audio || die
- ln -s dvd2divx ${D}/usr/bin/dvd2divx-subtitle || die
- install -c -m 755 ${FILESDIR}/m3u ${D}/usr/bin || die
-
- dodir /etc/profile.d
- install -c -m 755 ${FILESDIR}/alias.sh.darklin.sh ${D}/etc/profile.d || die
-
- i=1
- dodir /mnt/
- while [ $i -le 5 ]; do
- dodir /mnt/img$i || die
- keepdir /mnt/img$i
-
- dodir /mnt/tmp$i || die
- keepdir /mnt/tmp$i
- i=`expr $i + 1`
- done
-
- dodir /mnt/auth; chmod 000 ${D}/mnt/auth; keepdir /mnt/auth
- dodir /mnt/Upload; chmod 777 ${D}/mnt/Upload; keepdir /mnt/Upload
- dodir /mnt/Download; keepdir /mnt/Download
-
- ln -s img1 ${D}/mnt/img
- ln -s tmp1 ${D}/mnt/tmp
-
- cat > ${D}/etc/m3u.conf << END
-FSEncoding = KOI8-R
-PLEncoding = CP1251
-END
-}