diff options
| author | zorz <zorz@krypt.sh> | 2026-05-05 18:29:35 +0300 |
|---|---|---|
| committer | zorz <zorz@krypt.sh> | 2026-05-05 18:29:35 +0300 |
| commit | 3ee93968e10126adc7dad5c8872f0170c3421e13 (patch) | |
| tree | bcac8daa62b6c9a94a48dae87f5d3f6de1985bba /giflib/Pkgfile | |
| parent | 936433a5deb6ccc8f8476096f2c2b8dc72c33388 (diff) | |
| download | zorz-3ee93968e10126adc7dad5c8872f0170c3421e13.tar.gz zorz-3ee93968e10126adc7dad5c8872f0170c3421e13.tar.xz | |
various obsolette
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 | } | ||