giflib: update to 5.1.8.

This commit is contained in:
maxice8 2019-03-18 03:06:56 -03:00 committed by maxice8
parent 6e858b2a07
commit f79730819f
1 changed files with 3 additions and 9 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'giflib' # Template file for 'giflib'
pkgname=giflib pkgname=giflib
version=5.1.7 version=5.1.8
revision=2 revision=1
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="xmlto" hostmakedepends="xmlto"
short_desc="Library to handle, display and manipulate GIF images" short_desc="Library to handle, display and manipulate GIF images"
@ -9,16 +9,10 @@ maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT" license="MIT"
homepage="https://sourceforge.net/projects/giflib/" homepage="https://sourceforge.net/projects/giflib/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=94096e4f43fd06071bbb4a6827a9ab4eeff52036adb662f329ffc7c1d198436d checksum=d105a905df34a7822172d13657cdae3d4b0c8e8c7067ccf05e39a40044f8ca53
CFLAGS="-fPIC" CFLAGS="-fPIC"
pre_build() {
vsed -e 's|$(OFLAGS)|$(OFLAGS) -Wl,-soname=libgif.so.7|' \
-e 's|MANDIR = $(PREFIX)/share/man|MANDIR = $(PREFIX)/share/man/man1|' \
-i Makefile
}
post_install() { post_install() {
vlicense COPYING LICENSE vlicense COPYING LICENSE
} }