From 4747d6fe3dc8b6080c93272b5860565e09f3b343 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Sun, 5 Sep 2021 20:39:41 +0300 Subject: [PATCH] Also remove Makefile (closes #843) --- packages/unmaintained/Makefile | 62 ---------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 packages/unmaintained/Makefile diff --git a/packages/unmaintained/Makefile b/packages/unmaintained/Makefile deleted file mode 100644 index fa1c4c91..00000000 --- a/packages/unmaintained/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -APP=pybitmessage -APPDIR=`basename "\`pwd\`"` -VERSION=0.6.0 -RELEASE=1 -ARCH_TYPE=`uname -m` -PREFIX?=/usr/local -LIBDIR=lib - -all: -debug: -source: - tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs - gzip -f9n ../${APP}_${VERSION}.orig.tar -install: - mkdir -p ${DESTDIR}/usr - mkdir -p ${DESTDIR}${PREFIX} - mkdir -p ${DESTDIR}${PREFIX}/bin - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/man - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/man/man1 - install -m 644 man/${APP}.1.gz ${DESTDIR}${PREFIX}/share/man/man1 - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/${APP} - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/applications - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/pixmaps - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/icons - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/icons/hicolor - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/icons/hicolor/24x24 - mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/icons/hicolor/24x24/apps - install -m 644 desktop/${APP}.desktop ${DESTDIR}${PREFIX}/share/applications/${APP}.desktop - install -m 644 desktop/icon24.png ${DESTDIR}${PREFIX}/share/icons/hicolor/24x24/apps/${APP}.png - cp -rf src/* ${DESTDIR}${PREFIX}/share/${APP} - echo '#!/bin/sh' > ${DESTDIR}${PREFIX}/bin/${APP} - echo "if [ -d ${PREFIX}/share/${APP} ]; then" >> ${DESTDIR}${PREFIX}/bin/${APP} - echo " cd ${PREFIX}/share/${APP}" >> ${DESTDIR}${PREFIX}/bin/${APP} - echo 'else' >> ${DESTDIR}${PREFIX}/bin/${APP} - echo " cd /usr/share/pybitmessage" >> ${DESTDIR}${PREFIX}/bin/${APP} - echo 'fi' >> ${DESTDIR}${PREFIX}/bin/${APP} - echo 'if [ -d /opt/openssl-compat-bitcoin/lib ]; then' >> ${DESTDIR}${PREFIX}/bin/${APP} - echo ' LD_LIBRARY_PATH="/opt/openssl-compat-bitcoin/lib/" exec python2 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP} - echo 'else' >> ${DESTDIR}${PREFIX}/bin/${APP} - echo ' exec python2 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP} - echo 'fi' >> ${DESTDIR}${PREFIX}/bin/${APP} - chmod +x ${DESTDIR}${PREFIX}/bin/${APP} -uninstall: - rm -f ${PREFIX}/share/man/man1/${APP}.1.gz - rm -rf ${PREFIX}/share/${APP} - rm -f ${PREFIX}/bin/${APP} - rm -f ${PREFIX}/share/applications/${APP}.desktop - rm -f ${PREFIX}/share/icons/hicolor/scalable/apps/${APP}.svg - rm -f ${PREFIX}/share/pixmaps/${APP}.svg -clean: - rm -f ${APP} \#* \.#* gnuplot* *.png debian/*.substvars debian/*.log - rm -fr deb.* debian/${APP} rpmpackage/${ARCH_TYPE} - rm -f ../${APP}*.deb ../${APP}*.changes ../${APP}*.asc ../${APP}*.dsc - rm -f rpmpackage/*.src.rpm archpackage/*.gz archpackage/*.xz - rm -f puppypackage/*.gz puppypackage/*.pet slackpackage/*.txz - -sourcedeb: - tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs --exclude 'debian' - gzip -f9n ../${APP}_${VERSION}.orig.tar