From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- base/fs_fat/fs_fat.build | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100755 base/fs_fat/fs_fat.build (limited to 'base/fs_fat/fs_fat.build') diff --git a/base/fs_fat/fs_fat.build b/base/fs_fat/fs_fat.build new file mode 100755 index 0000000..5daad48 --- /dev/null +++ b/base/fs_fat/fs_fat.build @@ -0,0 +1,72 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=fs_fat +VERSION=3.0.18 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc < mkfs.msdos.8 + echo ".so man8/mkfs.fat.8" > mkfs.vfat.8 + echo ".so man8/mkfs.fat.8" > mkdosfs.8 + echo ".so man8/fsck.fat.8" > fsck.msdos.8 + echo ".so man8/fsck.fat.8" > fsck.vfat.8 + echo ".so man8/fsck.fat.8" > dosfsck.8 + echo ".so man8/fatlabel.8" > dosfslabel.8 +) +rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[0]} +} + +SRCNAME[1]=fatsort +SRCVERS[1]=1.1.331 +SRCPACK[1]=${URL[sf]}/fatsort/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL2" + +build1() +{ +make ${JOBS} CFLAGS+="${FLAGS}" +make install DESTDIR="${PKG}" MANDIR="${SYS_DIR[man]}/man8" SBINDIR="${SYS_DIR[sbin]}" +changelog CHANGES +} -- cgit v1.2.3-70-g09d2