From d6dfb64c962e4eb9df8f58e21efccfd07ca1e352 Mon Sep 17 00:00:00 2001 From: Emmett1 Date: Fri, 22 Dec 2017 11:42:06 +0800 Subject: [PATCH] Update README.md --- README.md | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 5597f72..a5cd325 100644 --- a/README.md +++ b/README.md @@ -12,27 +12,11 @@ Installing packaged tar is extract it into real system then write all files was scratchpkg read build script (spkgbuild) in ports directory to get all variables and functions needed before build it. All information of package will written into package like version, description, depends and etc. So the build package is not gonna need its ports anymore to get the information. This is really good when checking for package dependent or install package that was built from other machine. -spkgbuild ---------- +Install +------- -this is example of package's port: +Installing just simply execute INSTALL.sh: +'./INSTALL.sh' - # description : - # backup : - # conflict : - # depends : - # makedepends : - # noextract : - - name=foobar - version= - release=1 - options=() - source=() - - build() { - cd $name-$version - ./configure --prefix=/usr - make - make DESTDIR=$PKG install - } +If packaging, append DESTDIR=/tmp/path: +'DESTDIR=/tmp/path ./INSTALL.sh'