dcccbb9891
XXX: now segfaults on NetBSD-4.99.30/amd64, instead of not starting at all before.
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2007/09/07 23:06:13 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= skype_static-1.4.0.99
|
|
PKGNAME= ${DISTNAME:S/_static//}
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://download.skype.com/linux/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
# see https://developer.skype.com/LinuxSkype/ReleaseNotes for changes
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.skype.com/
|
|
COMMENT= P2P VoIP software
|
|
|
|
LICENSE= skype-license
|
|
RESTRICTED= Complex terms for redistribution.
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
EMUL_PLATFORMS= linux-i386
|
|
EMUL_MODULES.linux= alsa base compat fontconfig freetype2 glx \
|
|
libsigc++2 resmgr x11
|
|
|
|
USE_DIRS+= xdg-1.1
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
DATADIR= ${PREFIX}/share/skype
|
|
DOCDIR= ${PREFIX}/share/doc/skype
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-build:
|
|
@${ECHO} "#!${SH}" > ${WRKSRC}/skype.sh
|
|
@${ECHO} 'cd ${DATADIR} && exec ./skype $$@' >> ${WRKSRC}/skype.sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/skype.sh ${PREFIX}/bin/skype
|
|
${INSTALL_DATA} ${WRKSRC}/skype.desktop ${PREFIX}/share/applications
|
|
${INSTALL_DATA_DIR} ${DATADIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/skype ${DATADIR}
|
|
cd ${WRKSRC} && ${PAX} -rwppm icons sounds ${DATADIR}
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|