summaryrefslogtreecommitdiff
path: root/community/steghide/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/steghide/PKGBUILD')
-rw-r--r--community/steghide/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/steghide/PKGBUILD b/community/steghide/PKGBUILD
new file mode 100644
index 000000000..04c5a0f54
--- /dev/null
+++ b/community/steghide/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 9308 2010-01-25 00:27:50Z foutrelis $
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer: Jason Chu <jason@archlinux.org>
+
+pkgname=steghide
+pkgver=0.5.1
+pkgrel=4
+pkgdesc="Steghide is a steganography program which embeds a secret message \
+ in a cover file by replacing some of the least significant bits"
+arch=('i686' 'x86_64')
+url="http://steghide.sourceforge.net"
+license=('GPL')
+depends=('libmcrypt' 'mhash' 'gcc' 'libjpeg' 'zlib' 'libtool')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
+ buildsystem.patch gcc-4.2.patch $pkgname-climits.patch)
+md5sums=('5be490e24807d921045780fd8cc446b3'
+ '14f5e054d71c91262bb1140288043df8'
+ 'fd861dc5a0a392c6c94a61e85ad74f29'
+ '897ce18edd008293a3328bc3f88775b3')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ patch -p1 < ../buildsystem.patch || return 1
+ # this patch courtesy gentoo bug tracker #178134
+ patch -Np1 -i ../gcc-4.2.patch || return 1
+ patch -Np1 -i ../steghide-climits.patch || return 1
+ autoreconf -i
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+}