# Description file for tinycore extension ($ extbuild sample.desc) # Source PACKAGE="cifs-utils" #RENAME_TO="isc-dhcp4" SEP="-" VERSION="5.3" STYPE="ftp" MIRROR="ftp.samba.org/pub/linux-cifs/cifs-utils/" PKG_EXT=".tar.bz2" # Dependencies, Build flags, dev auto-added BUILD_DEPS="autoconf automake libtool libltdl aclocal krb5 openldap libtalloc keyutils attr samba3-libs libcap" RUN_DEPS="samba3-libs libcap libattr krb5 keyutils filesystems-KERNEL" FLAGS="--enable-cifscreds" MAKE_CMD="sed -i 's%root_sbindir = .*%root_sbindir = /usr/local/sbin%' ${TCB_SRCDIR}/cifs-utils-$VERSION/Makefile ; make" #DBG_PKG=1 #OVERWRITE_LOCAL=1 #NO_DESTDIR=1 #NO_PERL=1 #NO_AUTOTOOLS=1 NO_OWN_MOD=1 #UPX_COMPRESS=1 # Packaging DEV_MASK="-name *.h -o -name *.c -o -name *.la -o -name *.a -o -name *.m4 -o -name *.pc -o -name *.rh" LOCALE_MASK="-name locale -type d" DOC_MASK="( -name man -o -name manual -o -name doc -o -name info ) -a -type d" CONF_MASK="-name *.conf" CONF_MAND_MASK="" # Info DESCRIPTION="cifs-utils - Userspace tools for mounting CIFS shares" AUTHORS="Various" MAINTAINER="gutmensch" HOMEPAGE="http://samba.org" LICENSE="GPL" COMMENTS="Tools for mounting cifs shares." CHANGE="__TODAY__ " ##### changelog, dont modify! is done by script! ##### #CHANGELOG[2]="2012/04/06 Bump to 5.3" #CHANGELOG[1]="2012/01/19 Bump to 5.2, recompiled for TC 4.x" #CHANGELOG[0]="2010/10/28 Initial version 4.7" ############### end of changelog ##################### configure_special_source () { true # dummy_file filename [ $? -eq 0 ] && success || fail } work_special_build () { create_start_script ${PACKAGE} chmod u+s ${TCB_BLDDIR}/${PACKAGE}/usr/local/sbin/mount.cifs echo "[ ! -e /sbin/mount.cifs ] && ln -s \$(realpath /usr/local/sbin/mount.cifs) /sbin/mount.cifs" >> ${SS1} # to_new_extension "-name file1.txt -o -name file2.bin" new_ext "dep1 dep2" # create_start_script $EXTENSION # echo "my command" >> ${SS1} # create_wbar_icon $EXTENSION $ICONPATH $EXECUTE # create_initd_script $EXTENSION $DAEMONPATH $PIDFILE $LOGFILE $OPTIONS # cat < ${TCB_BLDDIR}/${PACKAGE}/usr/local/etc/ # EOF [ $? -eq 0 ] && success || fail }