# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_P="${PN}${PV/.}" RESTRICT="nomirror nostrip" DESCRIPTION="Sk@le Tracker - FastTracker 2 clone" HOMEPAGE="http://www.skale.org/" SRC_URI="ftp://ftp.scenesp.org/pub/skale/${MY_P}.zip" #SRC_URI="http://www.metamacro.com/awezoom/skale/download/${CUSTOM_P}.zip" LICENSE="freedist" SLOT="0" KEYWORDS="-* ~x86" IUSE="" RDEPEND="virtual/x11 media-libs/libsdl" S="${WORKDIR}/Skale${PV/.}" D_DIR="/opt/${PN}" src_install() { exeinto ${D_DIR} exeopts -g audio doexe Skale.x86 newexe ${FILESDIR}/skale.wrapper skale # installing misc data insinto ${D_DIR} doins Skale.dat insinto ${D_DIR}/Skins doins Skins/*.sks # installing config files insinto /etc/${PN} doins KeybLinux.cfg SkaleLinux.cfg # making some symlinks dosym /etc/${PN}/KeybLinux.cfg ${D_DIR}/KeybLinux.cfg dosym /etc/${PN}/SkaleLinux.cfg ${D_DIR}/SkaleLinux.cfg dodir /usr/bin dosym ${D_DIR}/skale /usr/bin/skale dohtml News.html Skale.html } pkg_postinst () { # some comments einfo "" einfo "to run Sk@le Tracker -> /usr/bin/skale" einfo "" einfo "To customize your Sk@le settings, edit the file" einfo "/etc/${PN}/SkaleLinux.cfg" einfo "" }