aboutsummaryrefslogtreecommitdiffstats
path: root/testing/steghide/APKBUILD
blob: a515ba3850a4227601efb9c0f721264f1521fbf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=steghide
pkgver=0.5.1
pkgrel=1
pkgdesc="Steganography program that is able to hide data in various kinds of image- and audio-files"
url="http://steghide.sourceforge.net/index.php"
arch="all"
license="GPL"
makedepends="libmcrypt-dev jpeg-dev zlib-dev libmhash-dev
bash libtool automake autoconf"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
steghide-0.5.1-am.patch
build-fixes-new-gcc.patch
missing-files-configure-in.patch"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	update_config_guess || return 1
	autoreconf -i
	./configure \
		--prefix=/usr \
		--disable-rpath \
		--disable-nls
	make CXXFLAGS="$CXXFLAGS -fpermissive" || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="6cda3e33e91123fbc5caa112efcacf09180505abd4f6f229878cd443817c60a04498aead02509c7532fd6924225c6b752820c51e452a83c520f228273d610a57  steghide-0.5.1.tar.gz
b41652a1cfcd5313cb79c220cebc308c5491de4b56433ca5c6099c0b23c532c565cb67b553c32d24398c0e26cec3d1749acd8890e45596464ed499a83fd04fb3  steghide-0.5.1-am.patch
66443a0ca340969d568e0343fafcef6623f429f6a718b5ea55afcceb444f907521db22702c213d9b72a82e6b353c138f2703afcb4a6d573fe37f70891bc69334  build-fixes-new-gcc.patch
27dbae3ef3ab4373ddd046bad07a4d3d0df014717b3a1a4b178c761f39f9b3c74aef7aeeb037c93e083445026e96cf46a64a1351074938af9b87ab9bd9e95bbe  missing-files-configure-in.patch"