-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1602 from predominant/predominant/pngquant
Added new plan for pngquant
- Loading branch information
Showing
4 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Habitat package: pngquant | ||
|
||
Lossy PNG compressor. | ||
|
||
## Maintainers | ||
|
||
The Habitat Maintainers (humans@habitat.sh). | ||
|
||
## Type of package | ||
|
||
Library package. Include this plan as a runtime or build dependency for plans that require `pngquant`. | ||
|
||
## Usage | ||
|
||
``` | ||
pkg_deps=( | ||
core/pngquant | ||
) | ||
``` | ||
|
||
or | ||
|
||
``` | ||
pkg_build_deps=( | ||
core/pngquant | ||
) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
pkg_name=pngquant | ||
pkg_origin=core | ||
pkg_version="2.11.7" | ||
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" | ||
pkg_license=("GPL-3.0-only") | ||
pkg_source="https://github.com/kornelski/${pkg_name}/archive/${pkg_version}.tar.gz" | ||
pkg_shasum="0ca09a1f253b264e5aab8477b7f0e3cde51d9f88ed668b38ae057ced24076bda" | ||
pkg_deps=( | ||
core/coreutils | ||
) | ||
pkg_build_deps=( | ||
core/make | ||
core/gcc | ||
core/libpng | ||
core/zlib | ||
core/pkg-config | ||
core/libimagequant | ||
) | ||
pkg_bin_dirs=(bin) | ||
pkg_description="Lossy PNG compressor" | ||
pkg_upstream_url="https://pngquant.org" | ||
|
||
do_build() { | ||
fix_interpreter "configure" core/coreutils bin/env | ||
do_default_build | ||
} | ||
|
||
do_install() { | ||
cp COPYRIGHT "${pkg_prefix}" | ||
do_default_install | ||
} |