Merge pull request #464 from chneukirchen/chris2

45 new templates
This commit is contained in:
Juan RP 2014-07-08 10:47:26 +02:00
commit 1647b63514
66 changed files with 1096 additions and 5 deletions

View File

@ -0,0 +1,27 @@
# This hook uncompresses man(1) files.
hook() {
local f lnkat mandir=${PKGDESTDIR}/usr/share/man
if [ -d ${PKGDESTDIR}/usr/man ]; then
msg_error "${pkgver}: /usr/man directory is not allowed, use /usr/share/man.\n"
fi
if [ ! -d $mandir ] ||
[ -z "$(find $mandir -regex '.*\.\(gz\|bz2\)' -print -quit)" ]; then
return 0
fi
echo " Uncompressing manpages..."
# rewrite symlinks
find $mandir -type l -regex '.*\.\(gz\|bz2\)' | while read f
do
lnkat=$(readlink "$f")
ln -vs ${lnkat%.*} ${f%.*}
rm $f
done
find $mandir -type f -name '*.gz' -exec gunzip -v {} +
find $mandir -type f -name '*.bz2' -exec bunzip2 -v {} +
}

View File

@ -986,6 +986,7 @@ libijs-0.35.so libijs-0.8_1
libgs.so.9 libgs-0.8_1
libssh2.so.1 libssh2-1.4.1_1
libvirt-glib-1.0.so.0 libvirt-glib-0.0.8_1
libsnmp.so.30 libnet-snmp-5.7.1_1
libnetsnmp.so.30 libnet-snmp-5.7.1_1
libnetsnmpagent.so.30 libnet-snmp-5.7.1_1
libnetsnmpmibs.so.30 libnet-snmp-5.7.1_1
@ -1665,3 +1666,5 @@ libxmlrpc_client.so.3 xmlrpc-c-1.25.28_1
libtelepathy-farstream.so.3 telepathy-farstream-0.6.0_6
libtidy-0.99.so.0 tidy-1.46_2
libnetpbm.so.11 libnetpbm-10.66.03_2
libid3.so id3lib-3.8.3_1
libid3-3.8.so.3 id3lib-3.8.3_1

View File

@ -0,0 +1,19 @@
# Template file for 'AlsaMixer.app'
pkgname=AlsaMixer.app
version=0.1
revision=1
makedepends="alsa-lib-devel libX11-devel libXext-devel libXpm-devel"
short_desc="Simple dockable mixer application for Linux with ALSA drivers"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://github.com/thinrope/AlsaMixer.app"
distfiles="http://distfiles.gentoo.org/distfiles/AlsaMixer.app-${version}.tar.gz"
checksum=7d55d3ba5ffd82bcddcb546e0aa33ab8638df5d1418aa170e91c42e35c0c8c15
do_build() {
make ${make_jobs} CXX="$CXX"
}
do_install() {
vbin AlsaMixer.app
}

View File

@ -1,7 +1,7 @@
# Template file for 'Ice'
pkgname=Ice
version=3.5.1
revision=2
revision=3
build_wrksrc=cpp
homepage="http://www.zeroc.com"
# XXX: other language bindings
@ -16,6 +16,7 @@ do_configure() {
sed -i -e "s|^#OPTIMIZE|OPTIMIZE|" config/Make.rules
sed -i -e "s|x)/config|x)/lib/Ice/config|" config/Make.rules
sed -i '/^embedded_runpath_prefix*/d' config/Make.rules
sed -i -e 's|x)/man/man1|x)/share/man/man1|' config/Make.rules
sed -i -e "s|test demo||" Makefile
}

View File

@ -0,0 +1,40 @@
--- burnK7.S
+++ burnK7.S
@@ -74,6 +74,7 @@ int_exit:
push %eax
int $0x80
#endif
+.data # Data allocation
.align 32,0
.fill 64
half: .long 0x7fffffff,0
--- burnP5.S
+++ burnP5.S
@@ -77,6 +77,7 @@ crunch:
#else
int $0x80
#endif
+.data # Data allocation
.align 32,0
half: .long 0xffffffff,0x3fdfffff
one: .long 0xffffffff,0x3fefffff
--- burnP6.S
+++ burnP6.S
@@ -69,6 +69,7 @@ int_exit: # error abort
push %eax # *BSD syscall
int $0x80
#endif
+.data # Data allocation
.align 32,0
half: .long 0x7fffffff,0
e: .long 0xffffffff,0x3fdfffff
--- burnK6.S
+++ burnK6.S
@@ -68,6 +68,7 @@ int_exit:
push %eax
int $0x80
#endif
+.data # Data allocation
.align 32,0
half: .long 0x7fffffff,0
e: .long 0xffffffff,0x3fdfffff

View File

@ -0,0 +1,7 @@
--- Makefile
+++ Makefile
@@ -1,3 +1,3 @@
all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
.S:
- gcc -s -nostdlib -o $@ $<
+ gcc -m32 -s -nostdlib -o $@ $<

38
srcpkgs/cpuburn/template Normal file
View File

@ -0,0 +1,38 @@
# Template file for 'cpuburn'
pkgname=cpuburn
only_for_archs="armv6l armv7l i686 x86_64"
version=1.4a
revision=1
short_desc="Collection of programs to put heavy load on CPU"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://launchpad.net/ubuntu/+source/cpuburn/"
distfiles="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${version}.orig.tar.gz"
checksum=eb191ce9bfbf453d30c218c3419573df102a3588f96c4a43686c84bb9da4bed6
do_build() {
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) make CC="$CC";;
arm*) make -C ARM CC="$CC";;
esac
}
do_install() {
vdoc README
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
vbin burnBX
vbin burnK6
vbin burnK7
vbin burnMMX
vbin burnP5
vbin burnP6
vdoc Design
;;
arm*)
vbin ARM/burnCortexA8
vbin ARM/burnCortexA9
vdoc ARM/Design
;;
esac
}

14
srcpkgs/easytag/template Normal file
View File

@ -0,0 +1,14 @@
# Template file for 'easytag'
pkgname=easytag
version=2.2.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool itstool"
makedepends="gtk+3-devel id3lib-devel libid3tag-devel libvorbis-devel
libflac-devel opusfile-devel speex-devel taglib-devel wavpack-devel"
short_desc="GUI audio tag editor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2,GPL-3"
homepage="http://easytag.sourceforge.net/"
distfiles="http://download.gnome.org/sources/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f49cadc868a67faeb99bdbedc21a3009783609b380d098412c4799ec48aeaeb3

20
srcpkgs/fvwm/template Normal file
View File

@ -0,0 +1,20 @@
# Template file for 'fvwm'
pkgname=fvwm
version=2.6.5
revision=1
build_style=gnu-configure
hostmakedepends="libxslt pkg-config"
makedepends="fribidi-devel libXpm-devel librsvg-devel libXinerama-devel
libXcursor-devel libSM-devel libXt-devel libXft-devel
fontconfig-devel readline-devel"
depends="perl"
short_desc="an extremely powerful ICCCM-compliant window manager"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2,custom"
homepage="http://fvwm.org/"
distfiles="ftp://ftp.fvwm.org/pub/fvwm/version-${version%%.*}/${pkgname}-${version}.tar.bz2"
checksum=21549995c53906be5533746a1cf61b1ecf8dd8ef6816a0b20615d45ff78b48cf
post_install() {
vlicense COPYING
}

View File

@ -0,0 +1,15 @@
--- Makefile.in- 2010-04-16 16:38:59.000000000 +0200
+++ Makefile.in 2014-07-06 19:01:18.669249288 +0200
@@ -27,9 +27,9 @@
CC = @CC@
CFLAGS = @XX_CFLAGS@ @CFLAGS@
-DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED
+DEFINES = @DEFINES@
+
+
SRCS = bdf.c \
bdfcons.c \

View File

@ -0,0 +1,21 @@
--- glyphedit.c 2010-04-16 16:39:04.000000000 +0200
+++ glyphedit.c 2011-11-23 21:30:25.479413052 +0100
@@ -104,7 +104,8 @@
GLYPH_MODIFIED = 0,
POINTER_MOVED,
OPERATION_CHANGE,
- COLOR_CHANGE
+ COLOR_CHANGE,
+ NUM_SIGNALS
};
/**************************************************************************
@@ -114,7 +115,7 @@
**************************************************************************/
static GtkWidgetClass *parent_class = 0;
-static guint glyphedit_signals[OPERATION_CHANGE + 1];
+static guint glyphedit_signals[NUM_SIGNALS];
/**************************************************************************
*

13
srcpkgs/gbdfed/template Normal file
View File

@ -0,0 +1,13 @@
# Template file for 'gbdfed'
pkgname=gbdfed
version=1.6
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gtk+-devel"
short_desc="A GTK2 bitmap font editor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.math.nmsu.edu/~mleisher/Software/gbdfed/"
distfiles="http://www.math.nmsu.edu/~mleisher/Software/${pkgname}/${pkgname}-${version}.tbz2>${pkgname}-${version}.tar.bz2"
checksum=5db25d4ce688dcb188dee056e58614a94a5e4fce4b6066fbb310951ab999093c

View File

@ -0,0 +1,24 @@
# Template file for 'get-flash-videos-git'
pkgname=get-flash-videos-git
version=20140706
revision=1
noarch=yes
makedepends=""
depends="perl perl-WWW-Mechanize perl-HTTP-Cookies perl-LWP-Protocol-https
perl-Module-Find perl-LWP-Protocol-socks perl-Tie-IxHash
perl-Crypt-Blowfish_PP"
short_desc="Downloads videos from various Flash-based video hosting sites"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="Apache-2.0"
homepage="http://code.google.com/p/get-flash-videos"
do_fetch() {
local url="git://github.com/monsieurvideo/get-flash-videos.git"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
do_install() {
make install DESTDIR="$DESTDIR" INSTALL_BASE=/usr \
INSTALLSITELIB=/usr/lib/perl5/site_perl INSTALLSITESCRIPT=/usr/bin
}

13
srcpkgs/gnubg/template Normal file
View File

@ -0,0 +1,13 @@
# Template file for 'gnubg'
pkgname=gnubg
version=1.02.000
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel gtk+-devel python-devel readline-devel readline"
short_desc="GNU Backgammon"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="http://www.gnubg.org"
distfiles="http://www.gnubg.org/media/sources/$pkgname-release-$version-sources.tar.gz"
checksum=7ece7fc02481f8e6c08869306f1cf52cad9ec5ddd675de67782cf028a6dcb504

View File

@ -0,0 +1,13 @@
# Template file for 'gtk2fontsel'
pkgname=gtk2fontsel
version=0.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gtk+-devel"
short_desc="Font selection and preview tool"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://gtk2fontsel.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=5cd6396fc3c6e7f9bc358cc5ad30592ba446cdb0138a811216497b6453905a68

1
srcpkgs/id3lib-devel Symbolic link
View File

@ -0,0 +1 @@
id3lib

View File

@ -0,0 +1,21 @@
--- include/id3/id3lib_strings.h
+++ include/id3/id3lib_strings.h
@@ -30,6 +30,7 @@
#define _ID3LIB_STRINGS_H_
#include <string>
+#include <cstring>
#if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
namespace std
--- include/id3/writers.h
+++ include/id3/writers.h
@@ -30,7 +30,7 @@
#include "id3/writer.h"
#include "id3/id3lib_streams.h"
-//#include <string.h>
+#include <cstring>
class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
{

View File

@ -0,0 +1,38 @@
Patch from 'Spoon' to fix issues with writing certain unicode characters
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,8 @@
+2006-02-17 Jerome Couderc
+
+ * Patch from Spoon to fix UTF-16 writing bug
+ http://sourceforge.net/tracker/index.php?func=detail&aid=1016290&group_id=979&atid=300979
+
2003-03-02 Sunday 17:38 Thijmen Klok <thijmen@id3lib.org>
* THANKS (1.20): added more people
--- src/io_helpers.cpp
+++ src/io_helpers.cpp
@@ -363,11 +363,22 @@
// Write the BOM: 0xFEFF
unicode_t BOM = 0xFEFF;
writer.writeChars((const unsigned char*) &BOM, 2);
+ // Patch from Spoon : 2004-08-25 14:17
+ // http://sourceforge.net/tracker/index.php?func=detail&aid=1016290&group_id=979&atid=300979
+ // Wrong code
+ //for (size_t i = 0; i < size; i += 2)
+ //{
+ // unicode_t ch = (data[i] << 8) | data[i+1];
+ // writer.writeChars((const unsigned char*) &ch, 2);
+ //}
+ // Right code
+ unsigned char *pdata = (unsigned char *) data.c_str();
for (size_t i = 0; i < size; i += 2)
{
- unicode_t ch = (data[i] << 8) | data[i+1];
+ unicode_t ch = (pdata[i] << 8) | pdata[i+1];
writer.writeChars((const unsigned char*) &ch, 2);
}
+ // End patch
}
return writer.getCur() - beg;
}

View File

@ -0,0 +1,10 @@
--- configure.in
+++ configure.in
@@ -227,7 +227,6 @@
)
AC_CHECK_HEADERS( \
string \
- iomanip.h \
,,AC_MSG_ERROR([Missing a vital header file for id3lib])
)

View File

@ -0,0 +1,12 @@
This patch adds a check for a null pointer
--- src/header_tag.cpp
+++ src/header_tag.cpp
@@ -54,7 +54,7 @@
{
size_t bytesUsed = ID3_TagHeader::SIZE;
- if (_info->is_extended)
+ if (_info && _info->is_extended)
{
bytesUsed += _info->extended_bytes;
}

View File

@ -0,0 +1,19 @@
Description: Fix crashes when reading VBR MP3 file.
Bug-Ubuntu: https://launchpad.net/bugs/444466
Origin: upstream, http://sourceforge.net/tracker/?func=detail&aid=937707&group_id=979&atid=300979
Forwarded: yes
Author: Urs Fleisch
Index: id3lib3.8.3-3.8.3/src/mp3_parse.cpp
===================================================================
--- src/mp3_parse.cpp 2009-10-06 23:12:10.381250132 +0200
+++ src/mp3_parse.cpp 2009-10-06 23:14:09.545252591 +0200
@@ -465,7 +465,7 @@
// from http://www.xingtech.com/developer/mp3/
const size_t VBR_HEADER_MIN_SIZE = 8; // "xing" + flags are fixed
- const size_t VBR_HEADER_MAX_SIZE = 116; // frames, bytes, toc and scale are optional
+ const size_t VBR_HEADER_MAX_SIZE = 120; // frames, bytes, toc and scale are optional
if (mp3size >= vbr_header_offest + VBR_HEADER_MIN_SIZE)
{

30
srcpkgs/id3lib/template Normal file
View File

@ -0,0 +1,30 @@
# Template file for 'id3lib'
pkgname=id3lib
version=3.8.3
revision=1
build_style=gnu-configure
hostmakedepends="libtool automake autoconf"
makedepends="zlib-devel"
depends=""
short_desc="Library for reading, writing, and manipulating ID3v1 and ID3v2 tags"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="LGPL-3"
homepage="http://id3lib.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079
pre_configure() {
libtoolize -fc
aclocal
autoconf
automake --add-missing --copy
}
id3lib-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}

View File

@ -1,9 +1,9 @@
# Template file for 'mairix'
pkgname=mairix
version=0.23
revision=1
revision=2
build_style=configure
configure_args="--prefix=/usr"
configure_args="--prefix=/usr --mandir=/usr/share/man"
makedepends="flex bison bzip2-devel zlib-devel"
short_desc="A program for indexing and searching emails"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"

View File

@ -0,0 +1,11 @@
--- super-intel.c- 2014-07-06 16:31:53.865139451 +0200
+++ super-intel.c 2014-07-06 16:31:45.646139350 +0200
@@ -5075,7 +5075,7 @@
spare->num_disks = 1,
spare->num_raid_devs = 0,
spare->cache_size = mpb->cache_size,
- spare->pwr_cycle_count = __cpu_to_le32(1),
+ spare->pwr_cycle_count = __cpu_to_le32(1);
snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
MPB_SIGNATURE MPB_VERSION_RAID0);

18
srcpkgs/mdadm/template Normal file
View File

@ -0,0 +1,18 @@
# Template file for 'mdadm'
pkgname=mdadm
version=3.3.1
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel"
short_desc="A tool for managing/monitoring Linux md device arrays"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://neil.brown.name/blog/mdadm"
distfiles="ftp://ftp.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=d8c74112cfd77bdc1dbc1291fe8d9243c76d91bfa276fcb95f2a75ca7717ab02
do_install() {
make CC=${CC} BINDIR=/usr/sbin STRIP=-s
vsconf mdadm.conf-example mdadm.conf
}

View File

@ -0,0 +1,24 @@
# Template file for 'mozplugger'
pkgname=mozplugger
version=2.1.6
revision=1
build_style=gnu-configure
makedepends="libX11-devel"
depends="m4"
conf_file="/etc/mozpluggerrc"
short_desc="Firefox plugin to embed arbitrary applications"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://mozplugger.mozdev.org"
distfiles="http://mozplugger.mozdev.org/files/${pkgname}-${version}.tar.gz"
checksum=294cf06ad37b8d89e57ee9c4dc9e7549fd1b0dcec9769171d65dad36099e5fef
do_install() {
vbin mozplugger-helper
vbin mozplugger-controller
vbin mozplugger-linker
vbin mozplugger-update
vinstall mozplugger.so 644 usr/lib/mozilla/plugins
vinstall mozpluggerrc 644 etc
vman mozplugger.7
}

View File

@ -1,9 +1,10 @@
# Template file for 'netcat'
pkgname=netcat
version=0.7.1
revision=3
revision=4
build_style=gnu-configure
short_desc="The GNU netcat utility"
replaces="netcat>=0"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://netcat.sourceforge.net/"

View File

@ -0,0 +1,23 @@
# Template file for 'offlineimap'
pkgname=offlineimap
version=6.5.6
revision=1
noarch=yes
build_style=python-module
python_versions="2.7"
hostmakedepends="python-setuptools python-docutils"
depends="python"
pycompile_module="offlineimap"
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://offlineimap.org/"
license="GPL-2"
distfiles="https://github.com/OfflineIMAP/offlineimap/archive/v${version}.tar.gz"
checksum=c23219cdbbae7fe12346ece94c427737fd4083720a124fff6f95a26c56f728c3
post_install() {
rst2man docs/MANUAL.rst offlineimap.1
vman offlineimap.1
vsconf offlineimap.conf
vsconf offlineimap.conf.minimal
}

View File

@ -0,0 +1,30 @@
# Template file for 'openbsd-netcat'
pkgname=openbsd-netcat
version=1.105_7
revision=1
hostmakedepends="pkg-config"
makedepends="libbsd-devel"
provides="netcat-${version}_${revision}"
replaces="netcat>=0"
short_desc="TCP/IP swiss army knife. OpenBSD/Debian variant."
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://packages.debian.org/sid/netcat-openbsd"
distfiles="http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${version%_*}.orig.tar.gz
http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${version/_/-}.debian.tar.gz"
checksum="40653fe66c1516876b61b07e093d826e2a5463c5d994f1b7e6ce328f3edb211e
eee759327ffea293e81d0dde67921b7fcfcad279ffd7a2c9d037bbc8f882b363"
wrksrc="netcat-openbsd-${version%_*}"
do_build() {
cat ../debian/patches/*.patch | patch -p1
make ${makejobs} \
CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${version}\\\"\" $(pkg-config libbsd --cflags)" \
LDFLAGS="$LDFLAGS $(pkg-config libbsd --libs)"
}
do_install() {
vbin nc
ln -sf nc ${DESTDIR}/usr/bin/netcat
vman nc.1
}

View File

@ -0,0 +1,18 @@
# Template file for 'openbsd-rs'
pkgname=openbsd-rs
version=1.22
revision=1
wrksrc="rs-${version}"
build_style=gnu-makefile
short_desc="Reshape a data array text file"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://github.com/chneukirchen/rs"
distfiles="https://github.com/chneukirchen/rs/archive/v${version}.tar.gz"
checksum=30727538ed5c5347fd2f23c483ecece0409befff72cd27f34591520bb636a99c
do_install() {
vbin rs
vman rs.1
vlicense README LICENSE
}

1
srcpkgs/paps-devel Symbolic link
View File

@ -0,0 +1 @@
paps

View File

@ -0,0 +1,14 @@
--- src/libpaps.c 2014-03-19 19:11:54.491351129 -1000
+++ src/libpaps.c 2014-03-19 19:14:37.795623928 -1000
@@ -25,8 +25,9 @@
#include <pango/pango.h>
#include <pango/pangoft2.h>
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
+#include <ft2build.h>
+#include FT_GLYPH_H
+#include FT_OUTLINE_H
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>

25
srcpkgs/paps/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'paps'
pkgname=paps
version=0.6.8
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="pango-devel freetype-devel"
# Disable --as-needed.
make_build_args="LDFLAGS="
short_desc="UTF-8 to PostScript converter via Pango"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="LGPL"
homepage="http://paps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=db214c4ea7ecde2f7986b869f6249864d3ff364e6f210c15aa2824bcbd850a20
paps-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-Crypt-Blowfish_PP'.
pkgname=perl-Crypt-Blowfish_PP
version=1.12
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends}"
noarch="yes"
short_desc="Blowfish encryption algorithm implemented purely in Perl"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/Crypt-Blowfish_PP"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/Crypt/${pkgname/perl-/}-$version.tar.gz"
checksum=714f1a3e94f658029d108ca15ed20f0842e73559ae5fc1faee86d4f2195fcf8c

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-File-Slurp-Tiny'.
pkgname=perl-File-Slurp-Tiny
version=0.003
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends}"
noarch="yes"
short_desc="File::Slurp::Tiny - A simple, sane and efficient file slurper"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/File-Slurp-Tiny"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/File/${pkgname/perl-/}-$version.tar.gz"
checksum=ded61a7ab96db8c6a14466a5984091a60af9b384b3355d06aeaa6433ac977c02

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-HTTP-Response-Encoding'.
pkgname=perl-HTTP-Response-Encoding
version=0.06
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends} perl-LWP"
noarch="yes"
short_desc="HTTP::Response::Encoding - Adds encoding() to HTTP::Response"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/HTTP-Response-Encoding"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/HTTP/${pkgname/perl-/}-$version.tar.gz"
checksum=10167b8e238a682004ab0d7accbe9d76eae2db57af07c5ae2dfa808074a4a8aa

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-HTTP-Server-Simple'.
pkgname=perl-HTTP-Server-Simple
version=0.44
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends} perl-URI"
noarch="yes"
short_desc="HTTP::Server::Simple - Lightweight HTTP server"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/HTTP-Server-Simple"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/HTTP/${pkgname/perl-/}-$version.tar.gz"
checksum=cff4f882da63a9a71271e25d1dc9160e64e5dd1195ed0a63894609ada7bb7416

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-IO-Socket-SSL'.
pkgname=perl-IO-Socket-SSL
version=1.988
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends} perl-Net-SSLeay perl-URI"
noarch="yes"
short_desc="IO::Socket::SSL -- SSL sockets with IO::Socket interface"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/IO-Socket-SSL/"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/IO/${pkgname/perl-/}-$version.tar.gz"
checksum=2439f633c3d7a2a1b4406d732afb3f842d488343a9a68a5e66896629206e7eb6

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-IO-Socket-Socks'.
pkgname=perl-IO-Socket-Socks
version=0.63
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends}"
noarch="yes"
short_desc="IO::Socket::Socks - Socks 4/5 client and server"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/IO-Socket-Socks"
license="LGPL"
distfiles="${CPAN_SITE}/IO/${pkgname/perl-/}-$version.tar.gz"
checksum=ccff40aebf739195174188997d57dae99575fe02306a37e94663ff48572d871b

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-LWP-Protocol-https'.
pkgname=perl-LWP-Protocol-https
version=6.04
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends} perl-IO-Socket-SSL perl-Mozilla-CA perl-Net-HTTP perl-LWP"
noarch="yes"
short_desc="LWP::Protocol::https - Provide https support for LWP::UserAgent"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/LWP-Protocol-https"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/LWP/${pkgname/perl-/}-$version.tar.gz"
checksum=1ef67750ee363525cf729b59afde805ac4dc80eaf8d36ca01082a4d78a7af629

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-LWP-Protocol-socks'.
pkgname=perl-LWP-Protocol-socks
version=1.6
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends} perl-IO-Socket-SSL perl-LWP-Protocol-https perl-IO-Socket-Socks perl-LWP"
noarch="yes"
short_desc="LWP::Protocol::socks - adds support for the socks protocol"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/LWP-Protocol-socks"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/LWP/${pkgname/perl-/}-$version.tar.gz"
checksum=49fbbf8c876bdcd89013d6353243040e2a3b344abfccd7d534ca32c6ba023c4b

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-Module-Find'.
pkgname=perl-Module-Find
version=0.12
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends}"
noarch="yes"
short_desc="Module::Find - Find and use installed modules in a (sub)category"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/Module-Find"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/Module/${pkgname/perl-/}-$version.tar.gz"
checksum=f490ed1ae2f5c463858fd1383543e2104a0e29706ea53ceda9f55db29b1c83d1

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-Mozilla-CA'.
pkgname=perl-Mozilla-CA
version=20130114
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends}"
noarch="yes"
short_desc="Mozilla::CA - Mozilla's CA cert bundle in PEM format"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/Mozilla-CA"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/Mozilla/${pkgname/perl-/}-$version.tar.gz"
checksum=82342614add1dbca8a00daa1ee55af3e0036245aed7d445537918c045008ccd7

View File

@ -0,0 +1,15 @@
# Template build file for 'perl-Net-SSLeay'.
pkgname=perl-Net-SSLeay
version=1.63
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18 openssl"
makedepends="${hostmakedepends} openssl-devel"
depends="${hostmakedepends}"
short_desc="Net::SSLeay - Perl extension for using OpenSSL"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/Net-SSLeay/"
license="BSD"
distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-$version.tar.gz"
checksum=8d127c37264bfd76bcd1e2a5dc745b9459c315380eda64c606cda2f4e2bc1b9d

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-Sub-Uplevel'.
pkgname=perl-Sub-Uplevel
version=0.24
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends}"
noarch="yes"
short_desc="Sub::Uplevel - apparently run a function in a higher stack frame"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/Sub-Uplevel"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-$version.tar.gz"
checksum=0f93f6e9c80b8dcb22c60d0e9df2c2c6d7db10d4d37151f1dfea6e54a3c6fdfb

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-Test-Warn'.
pkgname=perl-Test-Warn
version=0.30
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends} perl-Tree-DAG_Node"
noarch="yes"
short_desc="Test::Warn - Perl extension to test methods for warnings"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/Test-Warn"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/Test/${pkgname/perl-/}-$version.tar.gz"
checksum=8197555b94189d919349a03f7058f83861f145af9bee59f505bfe47562144e41

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-Tie-IxHash'.
pkgname=perl-Tie-IxHash
version=1.23
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends}"
noarch="yes"
short_desc="Tie::IxHash - ordered associative arrays for Perl"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/Tie-IxHash"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/Tie/${pkgname/perl-/}-$version.tar.gz"
checksum=fabb0b8c97e67c9b34b6cc18ed66f6c5e01c55b257dcf007555e0b027d4caf56

View File

@ -0,0 +1,16 @@
# Template build file for 'perl-Tree-DAG_Node'.
pkgname=perl-Tree-DAG_Node
version=1.22
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends}"
depends="${makedepends} perl-File-Slurp-Tiny"
noarch="yes"
short_desc="Tree::DAG_Node - An N-ary tree"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/Tree-DAG_Node"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/Tree/${pkgname/perl-/}-$version.tgz"
checksum=9ef1213a6734c36992f4bbb8cc9b3267143dd3aca42e8c069d9bc7cab24f4dba

View File

@ -0,0 +1,18 @@
# Template build file for 'perl-WWW-Mechanize'.
pkgname=perl-WWW-Mechanize
version=1.73
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl>=5.18"
makedepends="${hostmakedepends} perl-LWP perl-HTML-Parser perl-URI
perl-HTTP-Response-Encoding perl-HTTP-Server-Simple
perl-Test-Warn perl-HTML-Form"
depends="${makedepends}"
noarch="yes"
short_desc="WWW::Mechanize - Handy web browsing in a Perl object"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="http://search.cpan.org/dist/WWW-Mechanize"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/WWW/${pkgname/perl-/}-$version.tar.gz"
checksum=e9d56c921ce8f09a9087031249945f27383e29cee28b1e0a46c473d894423cff

View File

@ -0,0 +1,13 @@
# Template file for 'purple-plugin-pack'
pkgname=purple-plugin-pack
version=2.7.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="libpurple-devel pidgin-devel finch-devel"
short_desc="Compilation of plugins for the libpurple family of IM clients"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://bitbucket.org/rekkanoryo/purple-plugin-pack"
distfiles="https://bitbucket.org/rekkanoryo/$pkgname/downloads/$pkgname-$version.tar.bz2"
checksum=2bbcf5e778a33968ba7f2864d2a6cb526a8984be3e4151642a583eee8eafb03c

View File

@ -0,0 +1,18 @@
# Template file for 'pystopwatch'
pkgname=pystopwatch
version=2012.12.24.1
noarch=yes
revision=1
depends="python pygtk librsvg"
short_desc="A GTK2+ stopwatch written in Python"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://xyne.archlinux.ca/projects/pystopwatch"
distfiles="http://xyne.archlinux.ca/projects/${pkgname}/src/${pkgname}-${version}.tar.xz"
checksum=d74b6b6e5263e40ce45c0333df1f44e618d87a967d02e0c911782b3ebfdd2a94
do_install() {
vbin pystopwatch
gunzip man/pystopwatch.1.gz
vman man/pystopwatch.1
}

19
srcpkgs/radvd/template Normal file
View File

@ -0,0 +1,19 @@
# Template file for 'radvd'
pkgname=radvd
version=1.14
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config bison flex"
makedepends="libdaemon-devel"
conf_files="/etc/radvd.conf"
short_desc="IPv6 Router Advertisement Daemon"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://www.litech.org/radvd/"
distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz"
checksum=33db1305e4a80baeb71f603e5cdee4f26f9b6bb4db299c68bf33aaeda79b0eb3
post_install() {
vinstall radvd.conf.example 644 etc radvd.conf
vlicense COPYRIGHT LICENSE
}

13
srcpkgs/rcs/template Normal file
View File

@ -0,0 +1,13 @@
# Template file for 'rcs'
pkgname=rcs
version=5.9.2
revision=1
build_style=gnu-configure
hostmakedepends="ed groff"
depends="ed"
short_desc="Revision Control System"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="http://www.gnu.org/software/rcs/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=651af3429ccfaa7d0d10b64214a9fe7b77b33ed958f233532b6026f5e8adb571

View File

@ -0,0 +1,18 @@
# Template file for 'simple-mtpfs'
pkgname=simple-mtpfs
version=0.2
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config automake autoconf"
makedepends="fuse-devel libmtp-devel"
short_desc="A FUSE filesystem that supports reading/writing from MTP devices"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://github.com/phatina/simple-mtpfs/"
distfiles="https://github.com/phatina/simple-mtpfs/archive/${pkgname}-${version}.tar.gz"
checksum=3ce41fb194971041aa6ad15292a6cdad70eb8b5fc3e7a03a638bc3cac0c515ea
pre_configure() {
./autogen.sh
}

19
srcpkgs/stunnel/template Normal file
View File

@ -0,0 +1,19 @@
# Template file for 'stunnel'
pkgname=stunnel
version=5.02
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6"
makedepends="openssl-devel"
short_desc="SSL encryption wrapper"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://www.stunnel.org/"
distfiles="https://www.stunnel.org/downloads/$pkgname-$version.tar.gz"
checksum=c258b71d7f82bba5b0a4ccc69fbda632f1fefe9108589a92aa1016f33985973e
post_install() {
rm ${DESTDIR}/usr/share/man/man8/stunnel.??.8
vman doc/stunnel.fr.8
vman doc/stunnel.pl.8
}

22
srcpkgs/sysstat/template Normal file
View File

@ -0,0 +1,22 @@
# Template file for 'sysstat'
pkgname=sysstat
version=11.0.0
revision=1
build_style=gnu-configure
configure_args="--with-systemdsystemunitdir=none --enable-yesterday --enable-install-cron --enable-install-isag"
make_dirs="/var/log/sa 0755 root root"
hostmakedepends="pkg-config"
depends="lm-sensors"
short_desc="A collection of performance monitoring tools"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://pagesperso-orange.fr/sebastien.godard/"
distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.gz"
checksum=e67cbf35a8842c3cf3c39314b628611fb59c30de0da679ac68b195714be14253
pre_configure() {
sed -i 's/lib64/lib/' configure
export conf_dir=/etc/default
vmkdir etc/cron.daily
vmkdir etc/cron.hourly
}

View File

@ -0,0 +1,18 @@
# Template file for 'transmission-remote-cli'
pkgname=transmission-remote-cli
version=1.7.0
noarch=yes
revision=1
depends="transmission python python-simplejson"
short_desc="Curses interface for the BitTorrent client Transmission"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="https://github.com/fagga/transmission-remote-cli"
distfiles="https://github.com/fagga/transmission-remote-cli/archive/v${version}.tar.gz"
checksum=d20ba26cd05bd5a5d55a5990b861bf9cd4286a54f720d22041838a51cf60db62
do_install() {
vbin transmission-remote-cli
vman transmission-remote-cli.1
vinstall completion/bash/transmission-remote-cli-bash-completion.sh 644 usr/share/bash-completion/completions transmission-remote-cli
}

1
srcpkgs/unbound-devel Symbolic link
View File

@ -0,0 +1 @@
unbound

View File

@ -0,0 +1,3 @@
server:
use-syslog: yes

32
srcpkgs/unbound/template Normal file
View File

@ -0,0 +1,32 @@
# Template file for 'unbound'
pkgname=unbound
version=1.4.22
revision=1
build_style=gnu-configure
configure_args="--with-libevent --with-conf-file=/etc/unbound/unbound.conf
--with-pidfile=/run/unbound.pid"
conf_file="/etc/unbound/unbound.conf"
makedepends="openssl-devel expat-devel libevent-devel"
system_accounts="unbound"
short_desc="Validating, recursive, and caching DNS resolver"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://unbound.net/"
distfiles="http://unbound.net/downloads/${pkgname}-${version}.tar.gz"
checksum=1caf5081b2190ecdb23fc4d998b7999e28640c941f53baff7aee03c092a7d29f
post_install() {
vsconf doc/example.conf unbound.conf
vinstall ${FILESDIR}/unbound.conf 644 etc/unbound
}
unbound-devel_package() {
depends="unbound>=$version $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/share/man/man3/*.3"
}
}

View File

@ -0,0 +1,19 @@
# Template file for 'vim-gnupg'
pkgname=vim-gnupg
version=2.5
revision=1
noarch=yes
depends="gnupg"
short_desc="Plugin for transparent editing of gpg encrypted files"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.vim.org/scripts/script.php?script_id=3645"
distfiles="http://www.vim.org/scripts/download_script.php?src_id=18070>gnupg.vim"
checksum=e54935e321941fcb18b98385be48c610f6978d88f616253a12d0e339fb00b5f5
skip_extraction="gnupg.vim"
wrksrc=$pkgname
create_wrksrc=yes
do_install() {
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/gnupg.vim 644 usr/share/vim/vimfiles/plugin
}

View File

@ -1,7 +1,7 @@
# Template file for 'wavpack'
pkgname=wavpack
version=4.70.0
revision=2
revision=3
build_style=gnu-configure
short_desc="An audio codec (lossy and lossless)"
homepage="http://www.wavpack.com/"
@ -14,6 +14,10 @@ if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; the
configure_args="--enable-mmx"
fi
pre_configure() {
sed -i 's/^prefix=.*/&\nexec_&/' wavpack.pc.in
}
libwavpack_package() {
short_desc+=" - shared library"
pkg_install() {

12
srcpkgs/wmnd/template Normal file
View File

@ -0,0 +1,12 @@
# Template file for 'wmnd'
pkgname=wmnd
version=0.4.17
revision=1
build_style=gnu-configure
makedepends="net-snmp-devel libX11-devel libXext-devel libXpm-devel"
short_desc="Dockapp for monitoring network interfaces"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.thregr.org/~wavexx/software/wmnd/"
distfiles="http://www.thregr.org/~wavexx/software/wmnd/releases/${pkgname}-${version}.tar.gz"
checksum=48a07a6bda6871832c38fbca7a17d27606a94ed632f373d9e42f8cfc785cb3aa

16
srcpkgs/x11vnc/template Normal file
View File

@ -0,0 +1,16 @@
# Template file for 'x11vnc'
pkgname=x11vnc
version=0.9.13
revision=1
build_style=gnu-configure
makedepends="libX11-devel libXtst-devel libXinerama-devel libXdamage-devel libXrandr-devel openssl-devel libjpeg-turbo-devel"
short_desc="VNC server for real X displays"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.karlrunge.com/x11vnc/"
distfiles="${SOURCEFORGE_SITE}/libvncserver/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f6829f2e629667a5284de62b080b13126a0736499fe47cdb447aedb07a59f13b
post_install() {
rm -r ${DESTDIR}/usr/include/rfb
}

22
srcpkgs/xdu/template Normal file
View File

@ -0,0 +1,22 @@
# Template file for 'xdu'
pkgname=xdu
version=3.0
revision=1
wrksrc=$pkgname-$version
create_wrksrc=yes
makedepends="libXaw-devel"
short_desc="Display the output of du(1) in an X window"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://sd.wareonearth.com/~phil/xdu/"
distfiles="http://sd.wareonearth.com/~phil/$pkgname/$pkgname-$version.tar.Z>$pkgname-$version.tar.gz"
checksum=9a8f3748751cc543f88e9b312a72fa1e60c4335b1a57bfac492745512c12dd11
do_build() {
$CC $CFLAGS -o xdu xdu.c xwin.c $LDFLAGS -lXt -lXaw -lX11
}
do_install() {
vbin xdu
vman xdu.man xdu.1
}

21
srcpkgs/xtrlock/template Normal file
View File

@ -0,0 +1,21 @@
# Template file for 'xtrlock'
pkgname=xtrlock
version=2.6
revision=1
makedepends="libX11-devel"
short_desc="Minimal X display lock program"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://packages.debian.org/xtrlock"
distfiles="http://ftp.debian.org/debian/pool/main/x/${pkgname}/${pkgname}_${version}.tar.gz"
checksum=f0acccd39b9beedf1244434045e243cf515ba8653964fe6f3fb9187c640cc3bb
do_build() {
make -f Makefile.noimake CC="${CC}" CFLAGS="${CFLAGS} -DSHADOW_PWD" \
LDLIBS="-lX11 -lcrypt" xtrlock
}
do_install() {
vbin xtrlock
vman xtrlock.man xtrlock.1
}