Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
bee-files/cups.be0
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
47 lines (33 sloc)
1.19 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env beesh | |
# BEE_VERSION cups-2.2.11-1 | |
# SRCURL[0]="https://github.com/apple/cups/releases/download/v${PKGVERSION}/cups-${PKGVERSION}-source.tar.gz" | |
SRCURL[0]="https://beehive.molgen.mpg.de/7afbbcd2497e7d742583c492f6de40cd/cups-2.2.11-source.tar.gz" | |
# fix install -g which rersults in "var/cache/cups/rss': Operation not permitted" | |
PATCHURL+=("https://beehive.molgen.mpg.de/85482e86fb26e092f2757378c030196e/cups-2211-remove-chgrp-install.patch") | |
build_in_sourcedir | |
# sourcesubdir_append src | |
##mee_extract() { | |
# bee_extract "${@}" | |
#} | |
#mee_patch() { | |
# | |
#} | |
mee_configure() { | |
start_cmd sed -i 's:444:644:' ${S}/Makedefs.in | |
start_cmd sed -i '/MAN.EXT/s:.gz::' ${S}/configure ${S}/config-scripts/cups-manpages.m4 | |
start_cmd aclocal -I ${S}/config-scripts | |
start_cmd autoconf -I ${S}/config-scripts | |
bee_configure --with-rcdir=${PREFIX}/etc/kannweg \ | |
--disable-libusb | |
} | |
#mee_build() { | |
# bee_build | |
#} | |
mee_install() { | |
bee_install BUILDROOT=${D} | |
start_cmd sed -i 's/pam_unknown.so/pam_unix.so/;s/nodelay/shadow nodelay/' \ | |
${D}/etc/pam.d/cups | |
start_cmd rm -rf ${D}/var | |
start_cmd rm -rf ${D}${PREFIX}/etc/kannweg | |
start_cmd rm -rf ${D}/lib | |
} |