aboutsummaryrefslogtreecommitdiff
path: root/network/sylpheed/sylpheed.build
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-16 18:48:36 +0200
committerDeposite Pirate2018-09-16 18:48:36 +0200
commitd150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch)
treece5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /network/sylpheed/sylpheed.build
parentf29d3519ce073ec30f99754d93304324f7f26d65 (diff)
Add ports.
Diffstat (limited to 'network/sylpheed/sylpheed.build')
-rwxr-xr-xnetwork/sylpheed/sylpheed.build100
1 files changed, 100 insertions, 0 deletions
diff --git a/network/sylpheed/sylpheed.build b/network/sylpheed/sylpheed.build
new file mode 100755
index 0000000..4d57664
--- /dev/null
+++ b/network/sylpheed/sylpheed.build
@@ -0,0 +1,100 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=sylpheed
+MAJOR=3.4
+VERSION=${MAJOR}.1
+BUILD=1
+DEPENDS=('gtk+ >= 2.24.17-1' 'openssl >= 1.0.1g-1' 'gpgme >= 1.3.2-1')
+OPTDEPENDS=('sqlite >= 3.7.16.1-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: sylpheed
+${NAME}:
+${NAME}: Sylpheed is an email client (and news reader) based on GTK+ aiming
+${NAME}: for quick response, a graceful and sophisticated interface, easy
+${NAME}: configuration, intuitive operation and abundant features. The
+${NAME}: interface is similar to some popular email clients for Windows, such
+${NAME}: as Outlook Express, Becky! and Datula. The interface is also
+${NAME}: designed to emulate the mailers on Emacsen, and almost all commands
+${NAME}: are accessible with the keyboard.
+${NAME}:
+${NAME}: Homepage: http://sylpheed.sraoss.jp
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://sylpheed.sraoss.jp/${SRCNAME[0]}/v${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCROOT[0]=${SRCNAME[0]}-${SRCVERS[0]}
+SRCCOPY[0]="GPL2 LGPL21"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[conf]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-plugindir="${SYS_DIR[lib]}/plugins/sylpheed" \
+ --with-themedir="${SYS_DIR[share]}/application-data/sylpheed/icons" \
+ --with-manualdir="${SYS_DIR[html]}/sylpheed_manual" \
+ --with-faqdir="${SYS_DIR[html]}/sylpheed_faq"
+make ${JOBS} V=1
+( cd plugin/attachment_tool ; make ${JOBS} V=1)
+make install DESTDIR="${PKG}"
+( cd plugin/attachment_tool ; make install-plugin DESTDIR="${PKG}" )
+doc AUTHORS
+changelog NEWS
+install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/{64x64,128x128}/apps
+install.dat sylpheed-128x128.png ${PKG}${SYS_DIR[share]}/icons/hicolor/128x128/apps/sylpheed.png
+install.dat sylpheed-64x64.png ${PKG}${SYS_DIR[share]}/icons/hicolor/64x64/apps/sylpheed.png
+}
+
+SRCNAME[1]=sylfilter
+SRCVERS[1]=0.8
+SRCPACK[1]=http://sylpheed.sraoss.jp/${SRCNAME[1]}/src/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz
+SRCCOPY[1]="BSD3"
+
+build1()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-libsylph="sylpheed" \
+ --with-libsylph-dir="${PKG}${SYS_DIR[usr]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+changelog NEWS
+}