mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 03:12:22 +01:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=ethumb
|
|
pkgver=1.7.8
|
|
pkgrel=0
|
|
pkgdesc="EThumb, thumbnail generation library"
|
|
url="http://trac.enlightenment.org/e/wiki/Ethumb"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=
|
|
depends_dev="eina-dev evas-dev ecore-dev edje-dev e_dbus-dev libexif-dev
|
|
emotion-dev"
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="http://download.enlightenment.org/releases/ethumb-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/ethumb-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure --prefix=/usr \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
rm "$pkgdir"/usr/lib/*.la \
|
|
"$pkgdir"/usr/lib/ethumb/plugins/*.la
|
|
}
|
|
|
|
md5sums="9c5936d06ff79aea0dd81c5be0bf511e ethumb-1.7.8.tar.gz"
|
|
sha256sums="9047a88122c8713444d66294b3343c07feb15817a1809c7cbc9478ba91587e2d ethumb-1.7.8.tar.gz"
|
|
sha512sums="77c23b45fe75ebe26065e4662014196d5187fd11e3bd15edfc3ecc4efbb6678fad5e1b6a9b3e2ca1ffeb87c42792c147034e03ff77a78d3df8d72999d576ba53 ethumb-1.7.8.tar.gz"
|