diff options
author | Jukka Heino <jukka.heino@gmail.com> | 2006-04-24 09:39:38 +0000 |
---|---|---|
committer | Jukka Heino <jukka.heino@gmail.com> | 2006-04-24 09:39:38 +0000 |
commit | 114bc2379c2cd6f2c41e3353fca607fdd5b0b806 (patch) | |
tree | 90fbb7970ea890f9b0e2442662bb2f62b7378095 | |
parent | c2c8d6eae2ed0e7f598581e80aae1d7ea4f2557c (diff) | |
download | opt-114bc2379c2cd6f2c41e3353fca607fdd5b0b806.tar.gz opt-114bc2379c2cd6f2c41e3353fca607fdd5b0b806.tar.xz |
optipng: initial release
-rw-r--r-- | optipng/.footprint | 3 | ||||
-rw-r--r-- | optipng/.md5sum | 1 | ||||
-rw-r--r-- | optipng/Pkgfile | 18 |
3 files changed, 22 insertions, 0 deletions
diff --git a/optipng/.footprint b/optipng/.footprint new file mode 100644 index 000000000..e2bd6d4eb --- /dev/null +++ b/optipng/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/optipng diff --git a/optipng/.md5sum b/optipng/.md5sum new file mode 100644 index 000000000..2081a5330 --- /dev/null +++ b/optipng/.md5sum @@ -0,0 +1 @@ +3964fdf24e6de62fc994850c548dd13f optipng-0.5.tar.gz diff --git a/optipng/Pkgfile b/optipng/Pkgfile new file mode 100644 index 000000000..4e59565ea --- /dev/null +++ b/optipng/Pkgfile @@ -0,0 +1,18 @@ +# Description: Advanced lossless PNG optimizer +# URL: http://www.cs.toronto.edu/~cosmin/pngtech/optipng/ +# Maintainer: Jukka Heino, jukka dot heino at gmail dot com +# Packager: Jukka Heino, jukka dot heino at gmail dot com +# Depends on: + +name=optipng +version=0.5 +release=1 +source=(http://www.cs.toronto.edu/~cosmin/pngtech/$name/$name-$version.tar.gz) + +build() { + cd $name-$version + cd src + sed -i "s/-O2/$CFLAGS/" scripts/gcc.mak + make -f scripts/gcc.mak + install -D -m 0755 $name $PKG/usr/bin/$name +} |