-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cups: Update from version 1.7.5 to 2.2.11
with version 1. ypu can't print with the new printserver
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION cups-2.2.11-0 | ||
|
||
SRCURL[0]="https://github.com/apple/cups/releases/download/v${PKGVERSION}/cups-${PKGVERSION}-source.tar.gz" | ||
|
||
# PATCHURL+=() | ||
|
||
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} | ||
} | ||
## by default this may be 'make install DESTDIR="${D}"' | ||
|
||
mee_install_post() { | ||
|
||
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 | ||
} |