aboutsummaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2008-05-11 23:49:55 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2008-05-11 23:49:55 +0000
commit46176243f16eb83fdd082700696fa5744b1b4e30 (patch)
tree0612186894cee5c8b4f046c96edce242ca0e5550 /media
parent457f99a899a0850c7b10d9dd5208b7379806db48 (diff)
downloadmkbuilds-46176243f16eb83fdd082700696fa5744b1b4e30.tar.gz
mkbuilds-46176243f16eb83fdd082700696fa5744b1b4e30.tar.bz2
added pd
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@227 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'media')
-rw-r--r--media/sound/pd/pd-0.41_4.diff73
-rw-r--r--media/sound/pd/pd.mkbuild126
2 files changed, 199 insertions, 0 deletions
diff --git a/media/sound/pd/pd-0.41_4.diff b/media/sound/pd/pd-0.41_4.diff
new file mode 100644
index 0000000..05ae57c
--- /dev/null
+++ b/media/sound/pd/pd-0.41_4.diff
@@ -0,0 +1,73 @@
+Only in pd-0.41-4/src/: .makefile.in.swp
+diff -u pd-0.41-4.orig/src/makefile.in pd-0.41-4/src/makefile.in
+--- pd-0.41-4.orig/src/makefile.in 2008-03-14 21:03:00.000000000 -0300
++++ pd-0.41-4/src/makefile.in 2008-05-11 20:46:39.000000000 -0300
+@@ -163,39 +163,41 @@
+
+ ABOUT_FILE=$(pddocdir)/1.manual/1.introduction.txt
+ install: all
+- install -d $(libpdbindir)
+- install $(BIN_DIR)/$(GUINAME) $(libpdbindir)/$(GUINAME)
+- install $(BIN_DIR)/pd-watchdog $(libpdbindir)/pd-watchdog
+- install -m644 $(BIN_DIR)/pd.tk $(libpdbindir)/pd.tk
+- install -d $(DESTDIR)$(bindir)
+- install $(BINARYMODE) $(PDEXEC) $(DESTDIR)$(bindir)/pd
+- install -m755 $(BIN_DIR)/pdsend $(DESTDIR)$(bindir)/pdsend
+- install -m755 $(BIN_DIR)/pdreceive $(DESTDIR)$(bindir)/pdreceive
++ install -d $(DESTDIR)/$(libpdbindir)
++ install $(BIN_DIR)/$(GUINAME) $(DESTDIR)/$(libpdbindir)/$(GUINAME)
++ install $(BIN_DIR)/pd-watchdog $(DESTDIR)/$(libpdbindir)/pd-watchdog
++ install -m644 $(BIN_DIR)/pd.tk $(DESTDIR)/$(libpdbindir)/pd.tk
++ install -d $(DESTDIR)/$(bindir)
++ install $(BIN_DIR)/$(GUINAME) $(DESTDIR)/$(bindir)/$(GUINAME)
++ install -m644 $(BIN_DIR)/pd.tk $(DESTDIR)/$(bindir)/pd.tk
++ install $(BINARYMODE) $(PDEXEC) $(DESTDIR)/$(bindir)/pd
++ install -m755 $(BIN_DIR)/pdsend $(DESTDIR)/$(bindir)/pdsend
++ install -m755 $(BIN_DIR)/pdreceive $(DESTDIR)/$(bindir)/pdreceive
+ for dir in $(shell ls -1 ../doc | grep -v CVS); do \
+ echo "installing $$dir"; \
+- install -d $(pddocdir)/$$dir ; \
+- install -m644 -p ../doc/$$dir/*.* $(pddocdir)/$$dir ; \
++ install -d $(DESTDIR)/$(pddocdir)/$$dir ; \
++ install -m644 ../doc/$$dir/*.* $(DESTDIR)/$(pddocdir)/$$dir ; \
+ done
+ for dir in $(shell ls -1 ../doc/7.stuff | grep -v CVS); do \
+ echo "installing 7.stuff/$$dir"; \
+- install -d $(pddocdir)/7.stuff/$$dir ; \
+- install -m644 -p ../doc/7.stuff/$$dir/*.* $(pddocdir)/7.stuff/$$dir ; \
++ install -d $(DESTDIR)/$(pddocdir)/7.stuff/$$dir ; \
++ install -m644 ../doc/7.stuff/$$dir/*.* $(DESTDIR)/$(pddocdir)/7.stuff/$$dir ; \
+ done
+- mv $(ABOUT_FILE) $(ABOUT_FILE).tmp
+- cat $(ABOUT_FILE).tmp | sed 's|PD_VERSION|Pd version $(PD_VERSION)|' \
+- > $(ABOUT_FILE)
+- rm $(ABOUT_FILE).tmp
+- cp -pr ../extra $(libpddir)/
+- rm -f $(libpddir)/extra/*/*.o
+- install -d $(DESTDIR)$(includedir)
+- install -m644 m_pd.h $(DESTDIR)$(includedir)/m_pd.h
+- install -d $(DESTDIR)$(mandir)/man1
+- gzip < ../man/pd.1 > $(DESTDIR)$(mandir)/man1/pd.1.gz
+- chmod 644 $(DESTDIR)$(mandir)/man1/pd.1.gz
+- gzip < ../man/pdsend.1 > $(DESTDIR)$(mandir)/man1/pdsend.1.gz
+- chmod 644 $(DESTDIR)$(mandir)/man1/pdsend.1.gz
+- gzip < ../man/pdreceive.1 > $(DESTDIR)$(mandir)/man1/pdreceive.1.gz
+- chmod 644 $(DESTDIR)$(mandir)/man1/pdreceive.1.gz
++ mv $(DESTDIR)/$(ABOUT_FILE) $(DESTDIR)/$(ABOUT_FILE).tmp
++ cat $(DESTDIR)/$(ABOUT_FILE).tmp | sed 's|PD_VERSION|Pd version $(PD_VERSION)|' \
++ > $(DESTDIR)/$(ABOUT_FILE)
++ rm $(DESTDIR)/$(ABOUT_FILE).tmp
++ cp -pr ../extra $(DESTDIR)/$(libpddir)/
++ rm -f $(DESTDIR)/$(libpddir)/extra/*/*.o
++ install -d $(DESTDIR)/$(includedir)
++ install -m644 m_pd.h $(DESTDIR)/$(includedir)/m_pd.h
++ install -d $(DESTDIR)/$(mandir)/man1
++ gzip < ../man/pd.1 > $(DESTDIR)/$(mandir)/man1/pd.1.gz
++ chmod 644 $(DESTDIR)/$(mandir)/man1/pd.1.gz
++ gzip < ../man/pdsend.1 > $(DESTDIR)/$(mandir)/man1/pdsend.1.gz
++ chmod 644 $(DESTDIR)/$(mandir)/man1/pdsend.1.gz
++ gzip < ../man/pdreceive.1 > $(DESTDIR)/$(mandir)/man1/pdreceive.1.gz
++ chmod 644 $(DESTDIR)/$(mandir)/man1/pdreceive.1.gz
+ @echo "Pd install succeeded."
+
+ local-clean:
diff --git a/media/sound/pd/pd.mkbuild b/media/sound/pd/pd.mkbuild
new file mode 100644
index 0000000..906ae56
--- /dev/null
+++ b/media/sound/pd/pd.mkbuild
@@ -0,0 +1,126 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://www-crca.ucsd.edu/~msp/Software/pd-0.41-4.src.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]="pd"
+
+#
+# Package version.
+[[VERSION]]="0.41-4"
+
+#
+# Source Name construction string
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.src.tar.$EXTENSION"
+
+#
+# Dependency list input
+[[SLACK REQUIRED]]="jack"
+
+#
+# Other configure arguments
+[[OTHER CONFIGURE ARGS]]="--enable-alsa --enable-jack --enable-portaudio --enable-portmidi --enable-fftw"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="LICENSE.txt README.txt"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/sound/pd"
+
+# Patching
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="2"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+pd: pd (Pure Data)
+pd:
+pd: PD (Pure Data) is a real-time graphical programming environment for audio,
+pd: video, and graphical processing. It is the third major branch of the family
+pd: of patcher programming languages known as Max (Max/FTS, ISPW Max, Max/MSP,
+pd: jMax, etc.).
+pd:
+pd:
+pd:
+pd:
+pd:
+#<slackdesc
+
+#>make_package
+# Compile
+make depend || exit $ERROR_MAKE
+make $NUMJOBS || exit $ERROR_MAKE
+#<make_package
+
+#p>
+-cd "$PKG_SRC"
++cd "$PKG_SRC/src"
+#p<