diff options
author | abs <abs@pkgsrc.org> | 2011-11-23 23:09:34 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2011-11-23 23:09:34 +0000 |
commit | b701b8bbbf418492b75e5d1e7a9f50eb7a2bfcd5 (patch) | |
tree | 162d07fcf5743c29a7e6ad68430ebb867418c40f /net/skype1 | |
parent | 3908749daccf4048e6d1034379b5cf87c29b467d (diff) | |
download | pkgsrc-b701b8bbbf418492b75e5d1e7a9f50eb7a2bfcd5.tar.gz |
Reimport net/skype as net/skype1 to make it clear it is a very old version
Also while here fix a nasty issue with installing a Linux binary with
INSTALL_PROGRAM, and misc pkglint.
Diffstat (limited to 'net/skype1')
-rw-r--r-- | net/skype1/DESCR | 5 | ||||
-rw-r--r-- | net/skype1/Makefile | 66 | ||||
-rw-r--r-- | net/skype1/PLIST | 33 | ||||
-rw-r--r-- | net/skype1/distinfo | 5 |
4 files changed, 109 insertions, 0 deletions
diff --git a/net/skype1/DESCR b/net/skype1/DESCR new file mode 100644 index 00000000000..af5a01e25fa --- /dev/null +++ b/net/skype1/DESCR @@ -0,0 +1,5 @@ +Skype is a free program that uses P2P technology to bring affordable +and high-quality voice communications to people all over the world. + +This is a very old version of Skype which may be useful for older systems +(or systems which emulate older versions of Linux) diff --git a/net/skype1/Makefile b/net/skype1/Makefile new file mode 100644 index 00000000000..91a3108656e --- /dev/null +++ b/net/skype1/Makefile @@ -0,0 +1,66 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/11/23 23:09:34 abs Exp $ + +DISTNAME= skype_static-1.4.0.118-oss +PKGNAME= skype-1.4.0.118 +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_BIN_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} +NO_SRC_ON_CDROM= ${RESTRICTED} +NO_SRC_ON_FTP= ${RESTRICTED} + +FETCH_MESSAGE= "The skype distfile is not generally available, or freely" +FETCH_MESSAGE+= "distributable. If you cannot find it then this package is not" +FETCH_MESSAGE+= "of much use." + +PKG_DESTDIR_SUPPORT= user-destdir + +EMUL_PLATFORMS= linux-i386 +EMUL_MODULES.linux= base compat fontconfig freetype2 glx \ + libsigc++2 resmgr x11 + +USE_TOOLS+= pax +WRKSRC= ${WRKDIR}/${DISTNAME} + +DATADIR= ${PREFIX}/share/skype +DOCDIR= ${PREFIX}/share/doc/skype + +INSTALLATION_DIRS+= bin share/applications share/skype share/doc/skype +INSTALLATION_DIRS+= share/icons/hicolor/16x16/apps +INSTALLATION_DIRS+= share/icons/hicolor/32x32/apps +INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps + +do-build: + set -e; \ + { ${ECHO} "#!${SH}"; \ + ${ECHO} 'exec ${DATADIR}/skype --resources=${DATADIR} "$$@"'; \ + } > ${WRKSRC}/skype.sh + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/skype.sh ${DESTDIR}${PREFIX}/bin/skype + ${INSTALL_DATA} ${WRKSRC}/skype.desktop \ + ${DESTDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/icons/SkypeBlue_16x16.png \ + ${DESTDIR}${PREFIX}/share/icons/hicolor/16x16/apps/skype.png + ${INSTALL_DATA} ${WRKSRC}/icons/SkypeBlue_32x32.png \ + ${DESTDIR}${PREFIX}/share/icons/hicolor/32x32/apps/skype.png + ${INSTALL_DATA} ${WRKSRC}/icons/SkypeBlue_48x48.png \ + ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/skype.png + ${INSTALL_SCRIPT} ${WRKSRC}/skype ${DESTDIR}${DATADIR} + cd ${WRKSRC} && pax -rwppm icons sounds ${DESTDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} + +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/skype1/PLIST b/net/skype1/PLIST new file mode 100644 index 00000000000..403536c83f3 --- /dev/null +++ b/net/skype1/PLIST @@ -0,0 +1,33 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/11/23 23:09:35 abs Exp $ +bin/skype +share/applications/skype.desktop +share/doc/skype/LICENSE +share/doc/skype/README +share/icons/hicolor/16x16/apps/skype.png +share/icons/hicolor/32x32/apps/skype.png +share/icons/hicolor/48x48/apps/skype.png +share/skype/icons/SkypeBlue_16x16.png +share/skype/icons/SkypeBlue_32x32.png +share/skype/icons/SkypeBlue_48x48.png +share/skype/skype +share/skype/sounds/CallBusy.wav +share/skype/sounds/CallConnecting.wav +share/skype/sounds/CallHangup.wav +share/skype/sounds/CallHold.wav +share/skype/sounds/CallRemoteHangup.wav +share/skype/sounds/CallResume.wav +share/skype/sounds/CallRingingIn.wav +share/skype/sounds/CallRingingOut.wav +share/skype/sounds/ChatIncoming.wav +share/skype/sounds/ChatIncomingInitial.wav +share/skype/sounds/ChatOutgoing.wav +share/skype/sounds/ContactAdded.wav +share/skype/sounds/ContactAuthRequest.wav +share/skype/sounds/ContactOffline.wav +share/skype/sounds/ContactOnline.wav +share/skype/sounds/SkypeLogin.wav +share/skype/sounds/SkypeLogout.wav +share/skype/sounds/TransferComplete.wav +share/skype/sounds/TransferFailed.wav +share/skype/sounds/TransferRequest.wav +share/skype/sounds/VoicemailReceived.wav diff --git a/net/skype1/distinfo b/net/skype1/distinfo new file mode 100644 index 00000000000..3039a913c05 --- /dev/null +++ b/net/skype1/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/11/23 23:09:34 abs Exp $ + +SHA1 (skype_static-1.4.0.118-oss.tar.bz2) = 8450671ea64239203c8b8142f9a9d76af72143d4 +RMD160 (skype_static-1.4.0.118-oss.tar.bz2) = f1f3e5f955ff036110edebe5a8350483efd3642c +Size (skype_static-1.4.0.118-oss.tar.bz2) = 19595152 bytes |