#!/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 }