mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
ports: unzip
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
name=unzip
|
||||||
|
revision=1
|
||||||
|
from_source=unzip
|
||||||
|
imagedeps="build-essential"
|
||||||
|
hostdeps="xgcc xbinutils"
|
||||||
|
deps="base"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cp -rp ${source_dir}/* .
|
||||||
|
make -f unix/Makefile generic1 \
|
||||||
|
CC=x86_64-astral-gcc \
|
||||||
|
LD=x86_64-astral-gcc \
|
||||||
|
AS=x86_64-astral-as \
|
||||||
|
STRIP=x86_64-astral-strip \
|
||||||
|
CF="-O2 -I. -include utime.h -DUNIX -DSYSV -DMODERN -DGOT_UTIMBUF -DNO_LCHMOD" \
|
||||||
|
LF2=""
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make -f unix/Makefile install \
|
||||||
|
prefix=${prefix} \
|
||||||
|
BINDIR=${dest_dir}${prefix}/bin \
|
||||||
|
MANDIR=${dest_dir}${prefix}/share/man/man1
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
name=unzip
|
||||||
|
version=6.0
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://sourceforge.net/projects/infozip/files/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz/download"
|
||||||
|
tarball_sha512=0694e403ebc57b37218e00ec1a406cae5cc9c5b52b6798e0d4590840b6cdbf9ddc0d9471f67af783e960f8fa2e620394d51384257dca23d06bcd90224a80ce5d
|
||||||
|
hostdeps="autoconf automake libtool pkgconfig"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
true
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user