diff options
Diffstat (limited to 'giflib/Pkgfile')
| -rw-r--r-- | giflib/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/giflib/Pkgfile b/giflib/Pkgfile new file mode 100644 index 0000000..781445a --- /dev/null +++ b/giflib/Pkgfile | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # Description: A compressed GIF library compatible with libungif | ||
| 2 | # URL: https://giflib.sourceforge.net | ||
| 3 | # Maintainer: zorz, zorz at gmx dot com | ||
| 4 | |||
| 5 | name=giflib | ||
| 6 | version=5.2.2 | ||
| 7 | release=2 | ||
| 8 | source=(https://sourceforge.net/projects/giflib/files/$name-$version.tar.gz | ||
| 9 | giflib-5.2.2-security_fixes-1.patch | ||
| 10 | giflib-5.2.2-upstream_fixes-1.patch) | ||
| 11 | |||
| 12 | build() { | ||
| 13 | cd $name-$version | ||
| 14 | |||
| 15 | sed -e "/\$(MAKE) -C doc$/d" -i Makefile | ||
| 16 | |||
| 17 | patch -Np1 -i $SRC/giflib-5.2.2-security_fixes-1.patch | ||
| 18 | patch -Np1 -i $SRC/giflib-5.2.2-upstream_fixes-1.patch | ||
| 19 | |||
| 20 | make | ||
| 21 | make PREFIX=$PKG/usr install | ||
| 22 | |||
| 23 | install -vDm 644 doc/*.1 -t $PKG/usr/share/man/man1/ | ||
| 24 | install -vDm 644 doc/*.7 -t $PKG/usr/share/man/man7/ | ||
| 25 | } | ||